rklockner Posted October 19, 2011 Share Posted October 19, 2011 I've been searching for a while, and I have found some great options for sorting a table, and some OK options for freezing the left column(s), but nothing that will do it together. The issue is that most of the "Freezing" solutions use numerous tables wrapped with div tags to accomplish this task, and all the "Sorting" solutions only work on one table. FYI - I am not looking to reload the page each time the sort is done. Anyone know of anything? Quote Link to comment https://forums.phpfreaks.com/topic/249416-freeze-left-columns-and-sortable-table/ Share on other sites More sharing options...
Zane Posted October 20, 2011 Share Posted October 20, 2011 Explain "freezing". ... and elaborate your actual question more. What exactly are you wanting to do? Quote Link to comment https://forums.phpfreaks.com/topic/249416-freeze-left-columns-and-sortable-table/#findComment-1280673 Share on other sites More sharing options...
rklockner Posted October 20, 2011 Author Share Posted October 20, 2011 By freezing, I am referring to anchoring the left most columns so that the rest of the table scrolls left to right, but the leftmost column is always visible. Lets say the table is 1000px wide, and I only want to show 500px, and you are able to scroll to the right to see the rest. Now let's say there are 1000 records, and the first column contains a name, and the last (which is not visible unless you scroll to the right) contains a phone number. It is not possible to see both at the same time unless there is a way to keep the name column visible while you scroll to the right. I have found options that use multiple tables each with a div around it to accomplish this which would work, but... I need the table to be sortable. In other words, I would like to click on the header "Name" (or any other column header) and sort alphabetically. Quote Link to comment https://forums.phpfreaks.com/topic/249416-freeze-left-columns-and-sortable-table/#findComment-1280821 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.