The DataTables plugin has an extensive API (see: http://datatables.net/ref), but this module doesn't implement all those options, and it won't also make sense to include all of them. However, it should be possible to give the user the option to include any other option manually. I've created a patch that makes this option available for columns.
The users have the possibility to enter a setting option for each column manually in JSON format, e.g {"sType":"string"}
. So that, for example, users can set the sorting of a column to "string" or some other custom sorting type (plugin), which they could include in their template_preprocess_datatables_view
implementations.
Comment | File | Size | Author |
---|---|---|---|
#1 | option-to-add-manual-column-properties-2116143-1.patch | 2.05 KB | Elin Yordanov |
Comments
Comment #1
Elin Yordanov CreditAttribution: Elin Yordanov commentedAnd here's the patch I've created. As said, this patch makes it possible to add an extra column option manually in JSON format.
Comment #2
dqdWe are on 7.x 2.x so I would say this issue can be closed for now and reopened with changed code version option if somebody wants to report it for 2.x. or D8.
Elin feel free to join D8 camp for feature implementations, I would love to see you in the issues over there.