Re: DefaultDataTable: How to add a DDChoice to change rows per page
Vit, thanks for pointing the topic. It will come in handy. However I believe it makes sense to have DDC incorporated into navigation toolbar to save space. Vit Rozkovec wrote: > > Hi, check this out: > http://www.nabble.com/nice-small-component-to-share-Toolbar-for-DataTable-to16743136.html > > Vladimir Kovalyuk wrote: >> I would like to add some component, say DropDownChoice, to allow user to >> change default rows per page setting for data table. >> >> I've investigated two ways: 1) extend NavigationToolbar or >> PagingNavigator >> 2) extends NavigationToolbar to add extra panel right to PagingNavigator >> >> Althought it is possible to completely override PagingNavigator component >> it >> is not so straightforward as I expected. >> >> Please improve DefaultDataTable so it will be capable to change rows per >> page. >> >> I also suggest creating child components in all the non-final components >> via >> createXXX methods instead of new keyword in order to simplify overriding. >> >> > > > - > 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/DefaultDataTable%3A-How-to-add-a-DDChoice-to-change-rows-per-page-tp23244335p23252333.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: DefaultDataTable: How to add a DDChoice to change rows per page
Hi, check this out: http://www.nabble.com/nice-small-component-to-share-Toolbar-for-DataTable-to16743136.html Vladimir Kovalyuk wrote: I would like to add some component, say DropDownChoice, to allow user to change default rows per page setting for data table. I've investigated two ways: 1) extend NavigationToolbar or PagingNavigator 2) extends NavigationToolbar to add extra panel right to PagingNavigator Althought it is possible to completely override PagingNavigator component it is not so straightforward as I expected. Please improve DefaultDataTable so it will be capable to change rows per page. I also suggest creating child components in all the non-final components via createXXX methods instead of new keyword in order to simplify overriding. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
DefaultDataTable: How to add a DDChoice to change rows per page
I would like to add some component, say DropDownChoice, to allow user to change default rows per page setting for data table. I've investigated two ways: 1) extend NavigationToolbar or PagingNavigator 2) extends NavigationToolbar to add extra panel right to PagingNavigator Althought it is possible to completely override PagingNavigator component it is not so straightforward as I expected. Please improve DefaultDataTable so it will be capable to change rows per page. I also suggest creating child components in all the non-final components via createXXX methods instead of new keyword in order to simplify overriding.