SORTING EXTRA COLUMN
SORTING EXTRA COLUMN
![adrianocrivelari](https://secure.gravatar.com/avatar/37ff6355b04ab85c06bde41a65405dc9/?default=https%3A%2F%2Fvanillicon.com%2F37ff6355b04ab85c06bde41a65405dc9_200.png&rating=g&size=120)
Good afternoon!
I have something extra in a colum. I use Server-side processing, where some columns display records such as address, neighborhood, etc.. and the last column, is an extra column that displays the distance record for a given location. The result is I get to show it originated from a PHP function of latitude / longitude.
The problem is I can not sort this field. Clicking on the name of the column to sort, sorting is all wrong.
Does anyone know what I do to solve this problem?
Thanks.
I have something extra in a colum. I use Server-side processing, where some columns display records such as address, neighborhood, etc.. and the last column, is an extra column that displays the distance record for a given location. The result is I get to show it originated from a PHP function of latitude / longitude.
The problem is I can not sort this field. Clicking on the name of the column to sort, sorting is all wrong.
Does anyone know what I do to solve this problem?
Thanks.
This discussion has been closed.
Replies
I got the same problem. I want to hide sorting controls of the extra column (it contains Delete button).
http://www.datatables.net/usage/columns
bSortable can be set to false to prevent the sorting controls from displaying.