Where should I place the contents you have sent me as I tried it at TreeTable html & couldn't get the needed output? Please see the below code and let me know where I can modify...
Tried for both TreeTable component html & web page html. <wicket:panel> <div class="wicket-tree-table"> <div class="header"> <div> <span wicket:id="sideColumns"> </span> <div class="a_"> <span wicket:id="middleColumns"> </span> </div> </div> </div> /* CSS to add vertical scrollbar */ <div style="height: 300px; overflow: auto" class="wicket-tree-table-body"> <div wicket:id="i"> <span wicket:id="sideColumns"> </span> <div class="a_"> <span wicket:id="middleColumns"> </span> </div> </div> </div> </div> <script script="text/javascript" wicket:id="attachJavascript"> /* Will be replaced on runtime; Wicket.TreeTable.attachUpdate("treeTable"); */ </script> </wicket:panel> <wicket:fragment wicket:id="fragment"> <span wicket:id="indent"></span><a wicket:id="link" style=""><span wicket:id="image"/></a> <a wicket:id="nodeLink" class="node-link"><span class="icon" wicket:id="icon"></span><span wicket:id="label"></span></a> </wicket:fragment> -----Original Message----- From: leo.erlands...@tyringe.com [mailto:leo.erlands...@tyringe.com] Sent: Monday, March 15, 2010 1:56 PM To: users@wicket.apache.org Subject: Re: Regarding TreeTable Horizontal Scrollbar You can solve this by using CSS. E.g. <table> <tr><td> <div style="width:100%;overflow:auto;white-space:nowrap"> [content] </div> </td></tr> </table> The trick is "overflow:auto" that will add scrollbars when needed. "overflow-y: scroll; " will give you an always visible scrollbar for the y-axis. >Hi, >I am using TreeTable Wicket-1.4.5 component in my application. In my application, TreeTable may have one to many column based on some >selection/event. I want Horizontal scrollbar for TreeTable component to see the entire columns when it has many numbers. >If it needs customization then please let me know how it can be achieved. iGATE is Ranked No. 1 in DQ-IDC best IT employer survey and Ranked No.2 by Business Today-Mercer Human Resource Consulting-TNS in a cross industry survey of Best Companies to work for in India ----------------------------------------------------------------DISCLAIMER--------------------------------------------------------- Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailad...@igate.com and delete this EMAIL including any attachments