Hm, yes, I see. I think, I create a buttonlist to filter by the starting chars and query the database by this.
Thanks for your opinions! -----Original Message----- From: Paul Iov [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:33 PM To: MyFaces Discussion Subject: Re: Alphabetical t:dataScroller I afraid, the biggest problem would be not to balance the results but to obtain data itself. To generate some kind of alphabetical list you need to access ALL rows in DataModel at least once. Such scroller would completely kill any performance if working with large tables (i.e. with buffered DataModel in background, which fetchs only the current page of data from DB) Regards, paul Strittmatter, Stephan schrieb: > Hm, > > yes, alphabetically grouping is not balanced than the row numbers. > Sorting is another issue also. Sounds more complicated. > > I had in mind something like: > > [<<] [<] [A-De] [Df-Gr] [Gs-Or] [Os-Z] [>] [>>] > > But I think that is a own project then... > But a useful one. > > -----Original Message----- > From: Paul Iov [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 01, 2007 2:47 PM > To: MyFaces Discussion > Subject: Re: Alphabetical t:dataScroller > > I think it wouldn't be enough :) I think also, it sounds like a > completely new component, since it have to deal directly with > underlaying DataModel with all sort of type safety issues, sorting, > filtering etc. The standard dataScroler handles just rowCount and First > of dataTable and knows nothing about displayed data. > > Regards, > paul > > Anton Martynov schrieb: > >> (I think) you can extend current render >> (org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer) and >> override method renderPaginator(...). >> >> >> > > > >

