Adding buttons before "records per page" drop-down
Adding buttons before "records per page" drop-down
viji
Posts: 1Questions: 0Answers: 0
Hi,
I am new to DataTables and still trying to understand sDOM settings. I wanted to add two buttons just before the "records per page" drop-down menu, in the same line on the left-hand side. I am using bootstrap + datatables
I tried multiple combinations, but no luck. The nearest I can reach is with the following settings, but in this case button is coming on top of "records per page" drop-down
"sDom": "<'row-fluid'<'span6'Tl><'span6'f>r>t<'row-fluid'<'span6'i><'span6'p>>"
Please help.
Thanks
Viji
I am new to DataTables and still trying to understand sDOM settings. I wanted to add two buttons just before the "records per page" drop-down menu, in the same line on the left-hand side. I am using bootstrap + datatables
I tried multiple combinations, but no luck. The nearest I can reach is with the following settings, but in this case button is coming on top of "records per page" drop-down
"sDom": "<'row-fluid'<'span6'Tl><'span6'f>r>t<'row-fluid'<'span6'i><'span6'p>>"
Please help.
Thanks
Viji
This discussion has been closed.