Truncating the value is one option, but you need to make sure that the text will fit into the cell.
-Matej On Wed, Dec 31, 2008 at 9:55 PM, bburton <ben.bur...@teachscape.com> wrote: > > Matej, > > Perhaps I could override the renderNode method in > TreeTable.IRenderNodeCallback to truncate the value? > > > Matej Knopp-2 wrote: >> >> Hi, >> >> unfortunately that's problem with TreeTable layout. There really isn't >> a way around that currently apart from redoing TreeTable to use html >> <table>. >> >> -Matej >> >> On Wed, Dec 31, 2008 at 9:35 PM, bburton <ben.bur...@teachscape.com> >> wrote: >>> >>> I'm working on a TreeTable object to be used for user-generated content, >>> and >>> I was playing around with adding some nodes which had rather long names. >>> It >>> seems that whenever the name for a node is longer than the allocated >>> space >>> on the page for the row, nothing is displayed at all. I was thinking >>> about >>> truncating the string and appending "..." with a tooltip displaying the >>> full >>> value. >>> >>> Now, I'm not sure if this is something that Wicket should have built into >>> the TreeTable object, or something that's more specific to what I'm >>> trying >>> to do. It does seem a bit odd that nothing is being displayed at all. >>> Does >>> anyone have any suggestions? >>> -- >>> View this message in context: >>> http://www.nabble.com/TreeTable-nodes-not-displaying-full-title--tp21236812p21236812.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 >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> > > -- > View this message in context: > http://www.nabble.com/TreeTable-nodes-not-displaying-full-title--tp21236812p21236940.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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org