sDom

sDom

chandan121chandan121 Posts: 1Questions: 0Answers: 0
edited March 2011 in General
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

Replies

  • GregPGregP Posts: 500Questions: 10Answers: 0
    edited March 2011
    "In line" in what sense of the word? An example would be highly useful.

    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.
This discussion has been closed.