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