Re: t:dataTable, t:dataScroller and large datasets

2005-12-08 Thread Catalin Kormos
Looks to me like there a few things that need to be changed when sorting is involved also. For now I found the following, it works for me now, but its possible that i'm wrong, please correct me if I am: - the dataset size needs to be fetched independently from the actual data - the

Re: t:dataTable, t:dataScroller and large datasets

2005-12-08 Thread Simon Kitching
Catalin Kormos wrote: Looks to me like there a few things that need to be changed when sorting is involved also. For now I found the following, it works for me now, but its possible that i'm wrong, please correct me if I am: - the dataset size needs to be fetched independently from the actual

Re: t:dataTable, t:dataScroller and large datasets

2005-12-07 Thread Catalin Kormos
Hi there,Did any of you guys successfuly managed to use this approach also with t:commandSortHeader to allow sorting the pages data by columns?It doesn't look trivial to me...just let me know if it is realy. If not i would realy appreciate a wiki page covering this also.Best regards,

Re: t:dataTable, t:dataScroller and large datasets

2005-12-07 Thread Simon Kitching
Catalin Kormos wrote: Hi there, Did any of you guys successfuly managed to use this approach also with t:commandSortHeader to allow sorting the pages data by columns? It doesn't look trivial to me...just let me know if it is realy. If not i would realy appreciate a wiki page covering this

Re: t:dataTable, t:dataScroller and large datasets

2005-12-07 Thread Catalin Kormos
Thanks Simon for your reply.It sounds trivial, but i can't get it to work. I can't seem to find the place where to store the sorted column's name and the sorting type, ascent/descent. Looks like every time the data is fetched out before the sorting options are established, or the first

Re: t:dataTable, t:dataScroller and large datasets

2005-11-24 Thread Bruno Aranda
We deal with that with a custom DataModel, that returns the total number of results in getRowCount() so the scroller can calculate the number of pages but that only wraps a subset of data. We load this data from database doing a query that starts in the current Index, if data for this index did

t:dataTable, t:dataScroller and large datasets

2005-11-23 Thread Simon Kitching
Hi All, I'm trying to use a t:dataTable and a t:dataScroller together to page through a large set of data. The twist is that I don't want to load the entire dataset into memory; I only want to store the rows that are currently being displayed. It seems to me that the dataScroller essentially