This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
hello, i need to have a scrollable table(fixed header part and scrollable contents). for this i have taken two seperate tables for header and data,i am creating this tables dynamically.so as the data changes,the cell size of the data table changes,but the header table cell size remains the same,so i need to change the header table cells size also as the header columns and the data table cells look mismathched. is there any way out to change the cell size of header table cells dynamically? i hope i have made myself clear thanks in advance -vrunda
I think the simplest way for IE4+ and NS6+ would be to always create your data table with a header, but set style="visibility:hidden;" for a header row (I mean in TR tag) - it will produce one line of emty space, but it should not really affect anything (you can put this fake header at the bottom of the table). At this case, when you change any fields, you always have correct sizes of all columns, that you could use for the real header piece