⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Language and number of entries in datatables theme



leffert

leffert
  • profile picture
  • Member

Posted 15 November 2017 - 21:58 PM

1.

I use datatables to get a searcbar on top for some cruds, but the language at top

"Show 102550100 entries"

and bottom

"Showing 1 to 10 of 21 entries"

is not translated to config language, has anybody managed to change these name variables?

 

2.

The datatables theme doesn't seem to register the configs:

$config['grocery_crud_default_per_page'] = 25;

$config['grocery_crud_paging_options'] = array('50','100','500','1000000');

from grocery_crud.php in application/config

How can these be set?


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 16 November 2017 - 02:28 AM

Well - if i understand things clearly - you are interested in seeing all the rows together rather then having pagination ...

If so - i will refer you to have a look @the following link

 

http://www.amitsgarage.com/knowledge-base/grocerycrud/how-to-show-all-the-records-together/

 

Hope - it resolves your problem.

 

Happy GCing :)