How do i set the title on column?
How do i set the title on column?
sleepingtiger
Posts: 13Questions: 8Answers: 0
If i have a DataTable on a page (already drawn/instantiated) how can i programatically add a title?
For example
function(AjaxResponse){
myDataTable.column('ColumnA:name').title = "First Name"
...
This discussion has been closed.
Answers
There is no API for setting the title at this time.
There was recently a plug-in created for reading the title - you could perhaps modify it to do the inverse and set the title.
Allan
Ok so i am able to set it by simply creating a span and setting the value using plain ol jQuery. <th><span id='txtColumnName'>...
Once again thank you! Love your work!
That would work as well :-)
Allan