custom table column header rendering

custom table column header rendering

thienchonthienchon Posts: 2Questions: 0Answers: 0
edited December 2011 in General
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!!

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    > Is there a way to add icon to the column header of datatable?

    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
  • thienchonthienchon Posts: 2Questions: 0Answers: 0
    Cool. Thanks Allan!
This discussion has been closed.