I want to use the jQuery UI icon ui-icon-comment as a column header in one of my columns. Is there a way to do that?
Alternatively, if that's not possible, is there a way to use a PNG image in the header?
Items from colNames
array can contain any HTML fragments: So you can place for example the following text as the column header:
"<span class='ui-icon ui-icon-comment' style='display:inline-block'/>"
I think that it will do what you need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With