Is it possible to update column header (sTitle) for a column after initialization?

Is it possible to update column header (sTitle) for a column after initialization?

rolfsfrolfsf Posts: 27Questions: 6Answers: 0
edited August 2013 in General
I have a situation where the first column header of a table needs to update - due to the way the initialization is happening, it would be ideal if I could initialize the table with no header text in the first column, and then immediately update it with the correct header text.

Is this possible within datatables? or is it something I should just do via jQuery?

Thank you

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Just do it directly with jQuery. Although you need to use the API to update the cell contents, DataTables doesn't do much with the headers, so you can just set it directly.

    Allan
  • rolfsfrolfsf Posts: 27Questions: 6Answers: 0
    Thanks Allan!
This discussion has been closed.