||View All MessagesBack to WebFX|
I'm trying create links as headers to sort table. Doesn't seem to work correctly. It looks like it's sorting the wrong column. But I double checked the column order and it's correct.
I have <a href="#" onclick="st.sort(0);return false;"></a>.
The link is actually dynmically create via asp. So, as i iterate through the columns i increase the sort column value.
So, response.write "<a href=""#"" onclick=""st.sort(" & Counter & ");return false;""></a>".
Seems to be putting the correct sort value but it's actually not sorting the correct column.
Any help would be great. thanks.