using my own style
using my own style
t0n1zz
Posts: 32Questions: 19Answers: 0
can i remove all built in styling and adding my own styling into all of component for datatables? especially for button and search box....?
This discussion has been closed.
Answers
Sure. just don't include the DataTables CSS files and use whatever custom CSS you want to style the table.
Allan
no, what i mean is not the css part but the part where i want search bar to be on my own div that located in top and full sized and align to right... or the part where i want my button from buttons extension to be placed bellow my search bar in its own div... and other component in datatables that automatically drawn by javascript
Then you'll need to take a look at DOM Positioning
yes i already read that and can put my searchbox into separated div... how about buttons? i tried on my search but can't work with buttons
Use
buttons().container()
to get the Buttons' container element and then use jQuery to insert it wherever you want into the document.Allan