I have a jquery datatables which is built dynamically, meaning each row is built using a php mysql database call. Creating the table itself is no problem but there are times I want to add hyperlinks to the data displayed in the set.
For example:
ID | Date | Amount
----------------------------
1 | April 1, 2011 | 3.95
2 | April 5, 2011 | 4.55
3 | May 9, 2011 | 19.32
the catch is, the dates above would be a hyperlink and the date format in the URL would be in format of YYYY-mm-dd.
When i do this, datatables wants to treat the entire URL as a data element and thus screws up any sorting I can do on the table after the fact.
Anybody had this issue before? I can't seem to find anything online.