Is it possible to change the content of a sortable header cell?
Is it possible to change the content of a sortable header cell?
frequent
Posts: 23Questions: 0Answers: 0
On my sortable columns I want to replace the column text with a html-button.
Doing this:
$( oSettings.aoColumns[i].nTh).text();
I can retrieve the cell text of the respective column, which I'm using as my button text.
However doing this:
$( oSettings.aoColumns[i].nTh).text("some text");
$( oSettings.aoColumns[i].nTh).html("some text");
does not do anything :-(
Is it possible at all to modify the content of a sortable header cell? Some pointers would be really helpful.
Thanks!
Doing this:
$( oSettings.aoColumns[i].nTh).text();
I can retrieve the cell text of the respective column, which I'm using as my button text.
However doing this:
$( oSettings.aoColumns[i].nTh).text("some text");
$( oSettings.aoColumns[i].nTh).html("some text");
does not do anything :-(
Is it possible at all to modify the content of a sortable header cell? Some pointers would be really helpful.
Thanks!
This discussion has been closed.
Replies