I would like to be able to have a column with facebook likes and that the table will be able to be sorted by the number of facebook likes. Ho can I do this?
By default, datatables can sort by any column, just by clicking on the table header. Do you want it to sort by a certain column to start with? If so, look into http://www.datatables.net/release-datatables/examples/basic_init/table_sorting.html and that shows you how to start with a certain column sorted.
Thanks for the reply. My Problem is that in one column I display Facebook likes but it does not sort by number of likes. Its as if it does not recognize the number of likes as numbers to sort. How can I fix this?
Thanks for the reply. My Problem is that in one column I display Facebook likes but it does not sort by number of likes. Its as if it does not recognize the number of likes as numbers to sort. How can I fix this?
Replies