You might have meant field type 'datatable'.
If so the DataTable.defaults should be valid for the datatable fields inside field type 'datatable'. I've been using this a lot and I didn't notice any deviations.
I can see that buttons then are overridden by the datatable field settings (Yes, I meant the Datatable Field Type).
I think is where I get some missmatch.
Thanks for the reply,
Bjørn H
Answers
I don't think so. Editor has its own defaults in
DataTable.Editor.defaults
https://editor.datatables.net/manual/options#Setting-defaults
https://editor.datatables.net/manual/i18n#Defaults
You might have meant field type 'datatable'.
If so the DataTable.defaults should be valid for the datatable fields inside field type 'datatable'. I've been using this a lot and I didn't notice any deviations.
https://editor.datatables.net/reference/field/datatable
Yes, as @rf1234 indicated,
datatablewill inherit the defaults from theDataTable.defaultsobject (all DataTables on the page will).datatablewill set some values that override the defaults:You can use the
configproperty of thedatatablefield type configuration object to specify your own options for the DataTable.Allan
I can see that buttons then are overridden by the datatable field settings (Yes, I meant the Datatable Field Type).
I think is where I get some missmatch.
Thanks for the reply,
Bjørn H
See new question