Ok, I tried to switch the column-array to a IModel with a list and I got the tree to render...once... :) Seems like I missed a couple of spots...
Thanks for the quick reply. I guess an alternate approach for my usecase could be to only add two columns, one tree column and one panel containing a listview that renders my columns... /Mats On 5/31/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > I'm affraid this is not possible at the moment and I can see some > issues with implementing this. What you can do now is either override > isVisible to hide particular columns, or recreate the tree every time > the columns change. > > -Matej > > On 5/31/07, Mats Norén <[EMAIL PROTECTED]> wrote: > > Hi, > > Would it be possible to let the TreeTable take a model of columns > > instead of a fixed array? > > So that it would be possible to dynamically alter the number of > > columns based on a model? > > > > My usecase is a timeplanning tree with activities as rows and time as > > columns. > > Looking at the code it seems that the tree is initialized with at > > fixed number of columns? > > > > /Mats > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user