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.

Reply via email to