How do I add title to jquery data table dynamically. title is retrieve from server. Sorry, I sense this might be basic but i’ve been banging my head against it.
http://www.sprymedia.co.uk/article/DataTables
Basically i want to add title in between “show entities” and search textbox.
Any suggestions / pointers ?
Thanks in adavance.
You can control DOM elements that are generated by the datatable using the sDom settings:
This way you can put some div with some class e.g. “toolbar” (syntax is <“toolbar”> in the example above) and create script that will put the content of the div e.g.:
See http://datatables.net/release-datatables/examples/advanced_init/dom_toolbar.html as an example.