Jquery data table filter/search icon image in the table
Jquery data table filter/search icon image in the table
I have a Jquery data table column with icon image in each cell:
[code]
[/code]
I would like to filter for only [code]class="icon-glass"[/code] and display on the data table. Currently with normal data table initialization, it will not display any data from that column. Is there any customization that needed to filter this kind of data?
For example, [code]class="icon-glass"[/code] will display icon from one of these: http://andymatthews.net/code/jquery-mobile-icon-pack/font-awesome/faicons.png in my data table column. Can I only filter only icon-glass in data table when it is not a word? I would only like to show the following in my table:
[code]
[/code]
Is this possible?
[code]
[/code]
I would like to filter for only [code]class="icon-glass"[/code] and display on the data table. Currently with normal data table initialization, it will not display any data from that column. Is there any customization that needed to filter this kind of data?
For example, [code]class="icon-glass"[/code] will display icon from one of these: http://andymatthews.net/code/jquery-mobile-icon-pack/font-awesome/faicons.png in my data table column. Can I only filter only icon-glass in data table when it is not a word? I would only like to show the following in my table:
[code]
[/code]
Is this possible?
This discussion has been closed.
Replies
[code]
glass
music
glass
music
[/code]
Setting the second column to as such:
[code]
{ "bVisible": false }
[/code]
Then when search 'glass' in the search, it will do the filter and show the glass icon row. Happy coding!