Re: Can a TreeTable be pagable?
In short: no. Here's what I'd do: Use a table (which is pageable) and show the location in the tree as breadcrumbs. When you click on a table item, you go "into" the table item i.e. it goes to the bread crumbs and the children are shown in the table. Thomas On Thu, Feb 19, 2009 at 12:36 PM, CraigGreenhalhj < craig.greenha...@intersoftsolutions.co.uk> wrote: > > > -- > View this message in context: > http://www.nabble.com/Can-a-TreeTable-be-pagable--tp22098653p22098653.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 > > -- Thomas Mäder Wicket & Eclipse Consulting www.devotek-it.ch
Re: Can a TreeTable be pagable?
you need a different metaphor than the treetable to represent this. -gior On Thu, Feb 19, 2009 at 9:51 AM, CraigGreenhalgh wrote: > > I'm bound by client requirements for the data structure so there's not much I > can do about having 10k children. > > I'm trying to resolve the ways its presented by having a pageable tree > table! > > In response to > > "If you are on 15th page, how do you know what parents the nodes you see > have? It's against the purpose of tree - to hierarchically structure the > data." > > You could have a breadcrumb indicator to show where the 1st x number of rows > are in the hierachy. > > > > > > Matej Knopp-2 wrote: >> >> If you have node that has 10k children then it is obvious that there >> is something wrong either with your data structure or the way you >> present it. >> Pageable tree doesn't make much sense. If you are on 15th page, how do >> you know what parents the nodes you see have? It's against the purpose >> of tree - to hierarchically structure the data. >> >> -Matej >> >> On Thu, Feb 19, 2009 at 6:18 PM, CraigGreenhalgh >> wrote: >>> >>> I disagree. >>> >>> Here the senario. >>> >>> I have a tree table with 10 parent nodes. I have this is a pageable >>> table >>> (2 pages of 5 rows). I open up the 1st node in the 1st page, it has 50 >>> children in, this increases the overall rows in the table and hence >>> number >>> of pages. It still maintains only 5 rows per page (ie 1st page has 1 >>> parent, 4 children, 2 page has 5 children etc). Because the number of >>> pages >>> has increased to take into account the number of "visable" children I can >>> easily navigate from page to page without having to scroll down all the >>> children. >>> >>> When I have a node that has 10k children it clearly has to be paged >>> >>> has anyone else needed something like this? >>> >>> Craig >>> >>> >>> >>> >>> igor.vaynberg wrote: >>>> >>>> it doesnt make sense to have a pageable tree >>>> >>>> -igor >>>> >>>> On Thu, Feb 19, 2009 at 3:36 AM, CraigGreenhalhj >>>> wrote: >>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/Can-a-TreeTable-be-pagable--tp22098653p22098653.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/Can-a-TreeTable-be-pagable--tp22098653p22104803.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/Can-a-TreeTable-be-pagable--tp22098653p22105890.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
Re: Can a TreeTable be pagable?
I'm bound by client requirements for the data structure so there's not much I can do about having 10k children. I'm trying to resolve the ways its presented by having a pageable tree table! In response to "If you are on 15th page, how do you know what parents the nodes you see have? It's against the purpose of tree - to hierarchically structure the data." You could have a breadcrumb indicator to show where the 1st x number of rows are in the hierachy. Matej Knopp-2 wrote: > > If you have node that has 10k children then it is obvious that there > is something wrong either with your data structure or the way you > present it. > Pageable tree doesn't make much sense. If you are on 15th page, how do > you know what parents the nodes you see have? It's against the purpose > of tree - to hierarchically structure the data. > > -Matej > > On Thu, Feb 19, 2009 at 6:18 PM, CraigGreenhalgh > wrote: >> >> I disagree. >> >> Here the senario. >> >> I have a tree table with 10 parent nodes. I have this is a pageable >> table >> (2 pages of 5 rows). I open up the 1st node in the 1st page, it has 50 >> children in, this increases the overall rows in the table and hence >> number >> of pages. It still maintains only 5 rows per page (ie 1st page has 1 >> parent, 4 children, 2 page has 5 children etc). Because the number of >> pages >> has increased to take into account the number of "visable" children I can >> easily navigate from page to page without having to scroll down all the >> children. >> >> When I have a node that has 10k children it clearly has to be paged >> >> has anyone else needed something like this? >> >> Craig >> >> >> >> >> igor.vaynberg wrote: >>> >>> it doesnt make sense to have a pageable tree >>> >>> -igor >>> >>> On Thu, Feb 19, 2009 at 3:36 AM, CraigGreenhalhj >>> wrote: >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Can-a-TreeTable-be-pagable--tp22098653p22098653.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/Can-a-TreeTable-be-pagable--tp22098653p22104803.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/Can-a-TreeTable-be-pagable--tp22098653p22105890.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
Re: Can a TreeTable be pagable?
If you have node that has 10k children then it is obvious that there is something wrong either with your data structure or the way you present it. Pageable tree doesn't make much sense. If you are on 15th page, how do you know what parents the nodes you see have? It's against the purpose of tree - to hierarchically structure the data. -Matej On Thu, Feb 19, 2009 at 6:18 PM, CraigGreenhalgh wrote: > > I disagree. > > Here the senario. > > I have a tree table with 10 parent nodes. I have this is a pageable table > (2 pages of 5 rows). I open up the 1st node in the 1st page, it has 50 > children in, this increases the overall rows in the table and hence number > of pages. It still maintains only 5 rows per page (ie 1st page has 1 > parent, 4 children, 2 page has 5 children etc). Because the number of pages > has increased to take into account the number of "visable" children I can > easily navigate from page to page without having to scroll down all the > children. > > When I have a node that has 10k children it clearly has to be paged > > has anyone else needed something like this? > > Craig > > > > > igor.vaynberg wrote: >> >> it doesnt make sense to have a pageable tree >> >> -igor >> >> On Thu, Feb 19, 2009 at 3:36 AM, CraigGreenhalhj >> wrote: >>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Can-a-TreeTable-be-pagable--tp22098653p22098653.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/Can-a-TreeTable-be-pagable--tp22098653p22104803.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
Re: Can a TreeTable be pagable?
I disagree. Here the senario. I have a tree table with 10 parent nodes. I have this is a pageable table (2 pages of 5 rows). I open up the 1st node in the 1st page, it has 50 children in, this increases the overall rows in the table and hence number of pages. It still maintains only 5 rows per page (ie 1st page has 1 parent, 4 children, 2 page has 5 children etc). Because the number of pages has increased to take into account the number of "visable" children I can easily navigate from page to page without having to scroll down all the children. When I have a node that has 10k children it clearly has to be paged has anyone else needed something like this? Craig igor.vaynberg wrote: > > it doesnt make sense to have a pageable tree > > -igor > > On Thu, Feb 19, 2009 at 3:36 AM, CraigGreenhalhj > wrote: >> >> >> -- >> View this message in context: >> http://www.nabble.com/Can-a-TreeTable-be-pagable--tp22098653p22098653.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/Can-a-TreeTable-be-pagable--tp22098653p22104803.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
Re: Can a TreeTable be pagable?
it doesnt make sense to have a pageable tree -igor On Thu, Feb 19, 2009 at 3:36 AM, CraigGreenhalhj wrote: > > > -- > View this message in context: > http://www.nabble.com/Can-a-TreeTable-be-pagable--tp22098653p22098653.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
Can a TreeTable be pagable?
-- View this message in context: http://www.nabble.com/Can-a-TreeTable-be-pagable--tp22098653p22098653.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