That's on the to do list. I already had a look at it but, as you already correctly pointed out, rows can't be skipped always... the table model need to be completely populated when: - sort.amount=list, a column is sorted, and paging | offset are used - export.amount=list and the data are exported
I will try to put the patch for this into the next release, but it will need some testing... fabrizio -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John York Sent: Thursday, April 15, 2004 6:50 PM To: [EMAIL PROTECTED] Subject: Re: [displaytag-devel] why iterator over undisplayed rows? sorting. You need to look at all the data otherwise you can't sort the data or provide the sorting links in the table headers. We run into the problem all the time at my company, because we'd really like a more efficient way to handle large sets of data. It may be possible to optimize the tag when sorting isn't used, Fabrizio, do you have any idea if that would work? On Thu, 15 Apr 2004, Alex Burgel wrote: > hi, > > i've been playing around with displaytag, trying to get it to work > with my set up. i have a question about its design. > > in TableTag, it seems to iterate over all the items in the list to > populate the TableModel. once its populated, in doEndTag() it finds > out which ones are being displayed and then writes them out. > > it seems a bit unnecessary to do all this extra processing for the > rows that won't be displayed, especially since at the point of > doStartTag you already know which rows will be displayed because you > know the page size and which page you're on. > > is there a reason for this that i'm not seeing? > > the reason i ask is because i'm trying to come up with a way to allow > the tag to accept partial lists but still provide all the features > like paging, etc. > > thanks. > > --alex > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux > tutorial presented by Daniel Robbins, President and CEO of GenToo > technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > displaytag-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/displaytag-devel > -- John York Software Engineer CareerSite Corporation ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel