Sorting column with both numeric and comma seperated data
Sorting column with both numeric and comma seperated data
![prash](https://secure.gravatar.com/avatar/c125b4fe9c5d71fc30b62262fbc3387a/?default=https%3A%2F%2Fvanillicon.com%2Fc125b4fe9c5d71fc30b62262fbc3387a_200.png&rating=g&size=120)
Hi ,
I have a table in which i have a column with both numeric and comma separated data eg 100 | 245 | 1,000| 567 | 1,345 . Even if i write a plugin for removing the comma and set return type as "comma-numeric" , since the other rows are of type "numeric" by default implementation in datatables. I am unable to sort properly.
Please help
I have a table in which i have a column with both numeric and comma separated data eg 100 | 245 | 1,000| 567 | 1,345 . Even if i write a plugin for removing the comma and set return type as "comma-numeric" , since the other rows are of type "numeric" by default implementation in datatables. I am unable to sort properly.
Please help
This discussion has been closed.