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 <[email protected]>
> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to