Button Placement in DataTable 2
Button Placement in DataTable 2
NoBullMan
Posts: 104Questions: 31Answers: 3
in DataTables 2
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
How do I place export to Excel and export to CSV buttons on top of the table between page length (topLeft) and search (topRight), same row?
I tried topCenter but it seems to take the whole row and pushes page length and search to next row.
This question has an accepted answers - jump to answer
Answers
There isn't a
topCenter(because then we might end up withtopStartCenterCenteror something mad!). Instead you can use an array:Allan
Thank you Allan.
Is it possible to add some blurb above data table and below pagelength/buttons/search? Something like "Click on the label to view details".
Sure. Two options:
1) Use
div:2) Use
caption.Allan
Perfect. Thank you very much.
I love the layout option.