How to catch the aaSorting column
How to catch the aaSorting column
Hi Allan, its me again.
I show my table and it can be sorting on the 7 columns, on each cell I have a link to other page to show the full datails of the product, but if the user sorting the table and then go to the product page, when he/she back to the table it sorting by the default column.
How can I catch the sorting column and send this value to the server as a Get or Post variable?
I just need the column number to put it on my ajax soruce like this:
"sAjaxSource" : 'http://www.mydomain.com/myproducts?product=xxx&sorting=column_numer',
where column numbres is the column that the user sort the table
Thanks
I show my table and it can be sorting on the 7 columns, on each cell I have a link to other page to show the full datails of the product, but if the user sorting the table and then go to the product page, when he/she back to the table it sorting by the default column.
How can I catch the sorting column and send this value to the server as a Get or Post variable?
I just need the column number to put it on my ajax soruce like this:
"sAjaxSource" : 'http://www.mydomain.com/myproducts?product=xxx&sorting=column_numer',
where column numbres is the column that the user sort the table
Thanks
This discussion has been closed.
Replies
but may be was intereting to know how do that.
:D