lingo5 Posted November 27, 2011 Share Posted November 27, 2011 Hi, I want to be able to sort table columns dynamically, like clicking on a header arrow? I have no idea where to start. I did a google search and I found lots of pre-made extensions bu not a simple tutorial to get me started. Can you point me in the right direction? Thanks Quote Link to comment Share on other sites More sharing options...
MasterACE14 Posted November 27, 2011 Share Posted November 27, 2011 really have no idea what you're talking about, could you explain in more detail or post a link to a webpage that has this feature? Quote Link to comment Share on other sites More sharing options...
lingo5 Posted November 27, 2011 Author Share Posted November 27, 2011 Sorry...this is want I want to do http://www.dynamictable.com/ Quote Link to comment Share on other sites More sharing options...
Drongo_III Posted November 27, 2011 Share Posted November 27, 2011 That would likely be best achieved using jquery mate because it's not really dynamic - you're just shuffling data that's already been generated and not actually pulling new data. At any rate checkout jquery http://api.jquery.com. I think there are probably a few ways to acheive what your example does. One would be an ajax call to a script that reproduces the table based on what has been clicked. Or a less resource intensive method would be to create a jquery script to pull out the table values into an array and remake the table based on the desired sort option - though that would need some thought to pull off correctly. Hope that helps a little... Drongo Sorry...this is want I want to do http://www.dynamictable.com/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.