That's exactly what I was facing. Thank you for your time :) On Fri, Dec 14, 2012 at 5:46 PM, Lance Java <lance.j...@googlemail.com>wrote:
> Basically, the prepare() method is used to fetch the rows between > startIndex > and endIndex in a single batch and cache them. This cache might be a list > with indexes ranging from 0 to (endIndex - startIndex) > > getRowValue(int index) is then used to retrieve a single entry from the > batch. This might require you to subtract startIndex from index to get a > suitable index into your cached batch of records. > > getAvailableRows() can be a dynamic value over time. Just make sure you > return null from getRowValue() if the index is out of range (ie a row has > been deleted). > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/5-3-6-GridDataSource-provided-row-index-to-getRowValue-int-tp5718694p5718727.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >