Hi, I am new to the Wicket and am trying out the TreeTable example. I am facing a more fundmental issue. I am unable to give a fixed width to the middle columns. I can only specify the Unit as Proportional which is dividing the columns proportionally within the available space. Because of this I don't even see where horizontal scrollbar can be used with the table. The total width of the table seems to remain same no matter how many coloumns I add. Is there a way to change this behaviour so that I can specify fixed widths to all the columns?
regards, Kamesh Leo Erlandsson wrote: > > Hi, > > Still a CSS issue, not a Wicket one ;) > > I used Google to search for "css table locked column scroll" > > First result was a good StackOverflow-question: > http://stackoverflow.com/questions/296020/how-can-i-lock-the-first-row-and-first-column-of-a-table-when-scrolling-possibly > > Try the Horizontal Scrollbar in the example mentioned in the Accepted > StackOverflow answer: > http://www.cubido.at/Portals/7/docs/Blog/Karin/HTML%20and%20Javascript/ResizeColumns/Table.htm > > Source here: > http://www.cubido.at/Portals/7/docs/Blog/Karin/HTML%20and%20Javascript/ResizeColumns.zip > > > Seems to be what you're looking for. > > > >>Thanks to have your valuable reply & effort you made to answer my query. > But let me to explain you again my problem statement because this solution >>won't help me to fix the issue I have. I need a CSS style at TreeTable > markup level so that the Horizontal Scrollbar would be a part of TreeTable >>component. Here is my problem statement: > >>In my application, there are two scenarios: > >>1) I need an entire table to be scrollable horizontally & >>2) Horizontal scrolling on entire table except the tree node column. > >>Now I tried with changing both TreeTable markup & CSS attribute but > couldn't get success. I am using wicket 1.4.5 version. > >>Actually the problem statement is, in my application, I need a TreeTable > where first column should contain the data in a tree structure & rest > others >column will be the simple one. So, I used TreeTable > wicket-extension component to get the requirement fulfill but the problem > arises when table has >many number of columns then the table should be > horizontally scrollable. And as per my analysis, this existing treetable > component doesn't provide >this feature. > >>Could you please let me know that whether it's possible to customize > component for above mentioned requirement? And if yes, then guide me to do > this >otherwise please let me know what would be the other approach. > > > > ----- > --- > Leo Erlandsson, M. Sc. > -- View this message in context: http://old.nabble.com/Regarding-TreeTable-Horizontal-Scrollbar-tp27901312p28039590.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org