Migrating dom to layout option
Migrating dom to layout option
Hi,
I would like to use the layout option instead of the dom one but I cannot rearrange the controls in the same way.
I'm currently using this dom option: <'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7 dt-pager-custom'lp>>
I tried with
{
topStart: null,
topEnd: null,
bottomStart: 'info',
bottomEnd: ['pageLength', 'paging'],
}
and seems to works, but how can I add a custom class to the bottomEnd?
This question has an accepted answers - jump to answer
Answers
Currently you can't. You could however use:
as a selector for that element.
You request hasn't been the only one for that. I think it is something I'll need to look into for 2.1
Allan
nice!
thank you @allan