Closed cnizzardini closed 2 years ago
Does the existing plugin, supports i18n fields ? I tried, but no luck.
Nope.
then, may we hope to see it in action in Version 2 ?
Maybe. I know you can do that sort of stuff in both PHP and JavaScript. Are you looking mainly at the headers of the table being i18n compatible or what?
not just headers. Consider this case.
class Post extends AppModel {
public $actsAs = array(
'Translate' => array(
'fieldOne', 'fieldTwo'
)
);
}
so, when "Translate" behaviour is attached to the Model, I am not able to get data for those fields. here in this case, I am not able to get "fieldOne","fieldTwo".. data
sykamraju - okay I understand. I'll actually be needing to do something similar to this for another project so I will try to make this happen. Thanks.
Here are some of the features I am considering for version 2. Here's your chance to either contribute code or suggestions. Current features/changes planned:
Removing all non-mdata prop code
There is no reason for anyone to use this. It's ugly and is just cluttering up the code.
Excel export
I've been working with exporting data via excel using the PHPExcel library and its pretty nice to have. This would also require users to load a datatables JS plugin.
Faster searches
Improvements to how CakePHP-Datatables queries the database using the dataTables.js input search. Right now its just a long series of OR lookups and I'd like some ideas on how to speed up these searches if possible.
Other ideas
Is CakePHP-Datatables missing support for any current datatables.js features? Let me know.
I'd like to release version 2 by end of Spring or early Summer.