Re: inmethod custom PagingToolbar with dropdownchoice for setting rows not working correctly

2010-06-27 Thread Sam Zilverberg
vov: adding this behavior doesn't solve the problem. with this behavior the ddc never reaches the getDataGrid().setRowsPerPage(newSelection); line in the code.

Re: inmethod custom PagingToolbar with dropdownchoice for setting rows not working correctly

2010-06-27 Thread Sam Zilverberg
I've remove the filter-form and toolbar to see if they affect this situation, sadly they dont. When the rows-per-page DDC is outside the toolbar (and outside the grid markup) choosing a value will correctly change the DDC's model object and then the grid is rendered again using the correct DDC

Re: inmethod custom PagingToolbar with dropdownchoice for setting rows not working correctly

2010-06-25 Thread vov
Try to use: yourDDC.add(new AjaxFormComponentUpdatingBehavior(onchange) { @Override protected void onUpdate(AjaxRequestTarget target) { target.addComponent(yourGridComponent); //like MyGrid.this } }); -- View this message in context:

inmethod custom PagingToolbar with dropdownchoice for setting rows not working correctly

2010-06-24 Thread Sam Zilverberg
Hi, First I'd like to say that inmethod grid is great, I've been using inmethod grid for a while and have been very satisfied with it! Major kudos to the creator/s!! The problem: I have a simple drop down choice to change the rowsPerPage: DropDownChoiceInteger ddc = new

Re: inmethod custom PagingToolbar with dropdownchoice for setting rows not working correctly

2010-06-24 Thread nino martinez wael
I've had some strange things to, as the delay in choice you mentioned. However in my case I had two grids(master/detail) on the same page, my workaround was to create a new instance of the failing grid.. It had something todo with a problem with datasources but I dont remember the details now.