Sorting on table header
Sorting on table header
pasaami
Posts: 7Questions: 0Answers: 0
Hi,
Sorting on click of table header is not sorting with the updated data by AJAX. Its sorting the data based on the page refresh. Please help on this.
Sorting on click of table header is not sorting with the updated data by AJAX. Its sorting the data based on the page refresh. Please help on this.
This discussion has been closed.
Replies
Allan
Thanks a lot for your reply.
I have found a workaround. I don't know weather its correct or not.
Actually my requirement is, I have a table rows with html fields(input, select check box, etc). I am not able sort the table because of the html form fields. So I have added a hidden column which contains only the selected value of drop down or input box value. Of course those form fields will be modified by user. After modify the form field value, the sorting is not working properly. Because the hidden field value is not updated properly if I use $('#XXX').text('***modified value***'). Then I used fnUpdate() method to update the table cell with proper value. After that sorting working properly.
Please suggest on this.