custom table column header rendering
custom table column header rendering
Hi,
I'm trying to do filtering data in a column (from enum) by having a icon in the header of the column for user to click to show a list of active type to select/deselect. Is there a way to add icon to the column header of datatable?
Similar to icon next to sort icon in the Browser column in the image below:
http://www.screencast.com/t/OQsUqUqlb
Thanks in advance!!
I'm trying to do filtering data in a column (from enum) by having a icon in the header of the column for user to click to show a list of active type to select/deselect. Is there a way to add icon to the column header of datatable?
Similar to icon next to sort icon in the Browser column in the image below:
http://www.screencast.com/t/OQsUqUqlb
Thanks in advance!!
This discussion has been closed.
Replies
Sure - just put it into the HTML for the table :-). DataTables doesn't really care what HTML is in the cells, so just do it as if you weren't using DataTables and then when you enable the plug-in it should work just fine.
Allan