JavaScritp can not handle large tables to be sorted, You can only do it on a small level before the browser freezes.
Joined: Apr 14, 2006
Hi Eric, Thanks for the reply.Any Idea on how I can resolve this issue where I have 50 rows and I have to sort it in multiple levels.I can do a single level sorting.Any replies will be highly appreciated
Hi Bear, Thanks For the reply.I am already doing it from database only.But the prob is that I have next/prev buttons and the back/forth logic is based on the primary key.So the sort order selection is mixing it all.that's why I want to go for html.
Yes, database sorting is a good way to go. I did this at my last job and created similar code at my new job. The paging is all done on the client side, but the column sort is done on the server side via an Ajax call. Works like a champ.
But the prob is that I have next/prev buttons and the back/forth logic is based on the primary key.So the sort order selection is mixing it all.
You just need to keep track of that data better is all.