Disable Sorting after loading the data first time
Disable Sorting after loading the data first time
monik_doshi
Posts: 1Questions: 0Answers: 0
Example: I have table with 4 column:
index | name | Status| action
______________________________
1 | abc | Active| button
2 | rtty | In Active| button
3 | cba | Active| button
4 | yuu | Active| button
5 | yyy | In Active| button
6 | eee | Active| button
7 | abc | In Active| button
8 | abc | In Active | button
When I click on button I will update the status with javascript so Now new status will not work with sorting as I have changed it from Active to Inactive but still data tables is considering it as Active.,..
Is there any way I can fix this issue or at least stop the sorting on status column now..?
index | name | Status| action
______________________________
1 | abc | Active| button
2 | rtty | In Active| button
3 | cba | Active| button
4 | yuu | Active| button
5 | yyy | In Active| button
6 | eee | Active| button
7 | abc | In Active| button
8 | abc | In Active | button
When I click on button I will update the status with javascript so Now new status will not work with sorting as I have changed it from Active to Inactive but still data tables is considering it as Active.,..
Is there any way I can fix this issue or at least stop the sorting on status column now..?
This discussion has been closed.