On Tue, 2007-06-19 at 10:45 +0200, Martin Dietze wrote: > Hi, > > I am using a Grid component for displaying a larger set of > data. On my page I have form which I use to allow the user to > set the perferred page size. When the user selects a new > setting the form submits and changes the page class'es > _rowsPerPage property which is used by the grid in the template > to determine its number of rows like this: > > | <table t:type="grid" > | row="partner" > | source="partners" > | rowsPerPage="${rowsPerPage}" > | model="partnersRowModel"> > > My _rowsPerPage property get set to the right value after > submit, however the grid seems to ignore any changes from the > default it has been created with. Could it be the rowsPerPage > setting is cached somehow? How can I get the component to honor > new settings? Would it be possible to have the grid component in your page class so that you can update the rowsPerPage property directly?
Cheers, Martin
signature.asc
Description: This is a digitally signed message part