Below are the columns I add:
treeColumns.add(new CustomPropertyTreeColumn(new
ColumnLocation(Alignment.MIDDLE, 100, Unit.PROPORTIONAL),
new
ResourceModel("purge.wizard.analyzeDocumentsStep.treeTable.header"),
"userObject.displayName"));
treeColumns.add(new PropertyRenderableColumn(new
ColumnLocation(Alignment.RIGHT, 100, Unit.PX),
"purge.wizard.analyzeDocumentsStep.treeTable.header.counters",
"userObject.counter"));
CustomPropertyColumn get IModel instead of String
Eyal Golan
[email protected]
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
On Sun, Jul 12, 2009 at 11:40 AM, Eyal Golan <[email protected]> wrote:
> Hello,
> I am having something very strange in my TreeTable.
> I've put the tree in a Dynamic Wizard Step.
> When I get to that step (which is the summary), the columns gets wider and
> wider.
> After looking at Firebug, I've noticed that the width of the header is
> increasing:
> <div class="wicket-tree-table"> <div class="header">
> <div style="width: 1878px;"> ... <- this is keeping being larger and
> larger.
>
> I was looking at Tree.js but as I'm not a JS expert, I couldn't understand
> what's wrong.
> Is it possible that another object in my DOM causes this problem?
>
> I am using Wicket 1.3.6
>
> Thanks,
>
> Eyal Golan
> [email protected]
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin.com/in/egolan74
>
> P Save a tree. Please don't print this e-mail unless it's really necessary
>