sagarrs Posted August 25, 2006 Share Posted August 25, 2006 Hi All,I am reading data from XL and displaying on a web page and as the data is more i have to scroll the data upwards.But how do I see column names always?As the datascrolls up, by column names are also gone up but I need to keep them and scroll only other rows.Please help me.Thanks and Regards,Sagar Link to comment Share on other sites More sharing options...
theodore Posted August 25, 2006 Share Posted August 25, 2006 I don't know whether my method can help you or not. You can devide the data into two parts, the column names and the data.(You better put the data and the column names into two tables.)Then you can use "<div>" to fix the position of the table that containing the column names.After that, when you scrollup or down, the position of the column names displaying on the screen will not be changed. Link to comment Share on other sites More sharing options...
sagarrs Posted August 25, 2006 Author Share Posted August 25, 2006 Thanks for that reply.But in that case, the width of column in 1st table will difer from second and wil not align properly. I don't know whether my method can help you or not. You can devide the data into two parts, the column names and the data.(You better put the data and the column names into two tables.)Then you can use "<div>" to fix the position of the table that containing the column names.After that, when you scrollup or down, the position of the column names displaying on the screen will not be changed. Link to comment Share on other sites More sharing options...
theodore Posted August 25, 2006 Share Posted August 25, 2006 ...I think you can fix the width of the tables by adding "width=...". Also, I have a quite good method.Create a webpage.the webpage should be devided into 2 frames, the upper frame and the lower frame.(You can set the size of the upper frame is smaller, then the upper page will on show the column names)Each frame's content is that webpage containing the data. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now