sDom
sDom
chandan121
Posts: 1Questions: 0Answers: 0
Hi All,
I have a requirement to show the search, pagination and some other stuffs ( links for other page and some page iformation ) in line.
Please suggest how do I achive this.
Thanks for any help
I have a requirement to show the search, pagination and some other stuffs ( links for other page and some page iformation ) in line.
Please suggest how do I achive this.
Thanks for any help
This discussion has been closed.
Replies
In general, the given tools are put into divs just above and below the header itself, and are styled using a number of CSS classes. Unless there's a part of the API that I'm not familiar with (I certainly don't claim to know 100% of it!), you will have a hard time breaking individual components out of the toolbars to use elsewhere on the page.
However, you could theoretically load the desired elements into the toolbar as normal, except keep the entire toolbar hidden but loaded into the DOM. Then use something like jQuery clone(), or html() as both getter and setter, or any number of other ways to move the tool out of the toolbar and into whatever other element you choose.
If that's what you need to do, it becomes a matter of jQuery/JavaScript rather than DataTables support, and you might find more JavaScript DOM-manipulation experts at sites like StackOverflow that could provide additional guidance.