Skip to Content
0
Former Member
May 26, 2009 at 06:58 AM

How to Sort Images column in a table

20 Views

Hi All

I have a table and i used "TableSorter" class for sorting all columns in a table. that is working fine for all columns except for one column which is a status column containing images for example if status is "New" then we will display the "Green color traffic light" image like the yellow color image for "IN Progress" status.

if i click on status column then the images also to be sorted . based on NEW(Green color image) , IN progress (Yellow color image) etc .

and i wanted to implement the filter functionality also for "Status" column which is a image . i already applied "TableFilter" class for Filtering the status columns.

for example if i search for "New" then green color images to be displayed etc.

Please let me know the sample code for sorting & filtering the image column

Thanks

TrishaRani