4 Replies Latest reply on Mar 30, 2009 3:31 PM by gonzalad

    extendedDataTable database pagination

    gonzalad

      Sorry, this is a stupid question, but I didn't found if it pwas possible to do database pagination with extendedDatatable.

      I want when the user scrolls down the extendedDatatable, the component to make an ajax call in order to fetch following rows from database just like scrollableDataTable component.

      Did I miss something and 'dynamically fetching of rows from the server when a table is scrolled up and down' is a feature unique of scrollableDataTable and not extendedDatatable ?

      Thanks for your insight !

        • 1. Re: extendedDataTable database pagination
          nbelaevski

           

          "gonzalad" wrote:
          Did I miss something and 'dynamically fetching of rows from the server when a table is scrolled up and down' is a feature unique of scrollableDataTable and not extendedDatatable ?
          Hello,

          That's right, AJAX rows fetching is a unique feature of rich:scrollableDataTable component.

          • 2. Re: extendedDataTable database pagination
            gonzalad

            Thanks very much for your answer !

            Just 2 more little questions ;) :
            1. In this case, I think I should use rich:datascroller with extendedDatatable for database pagination (just like a basic rich:dataTable). Am I right ?
            2. Could extendedDatatable evolve in the future to include the scollable feature from scrollableDataTable (the feature looks nice, extendedDatatable looks also really nice - so 2 goodies instead of one ;) ) ? If yes where can I ask for this feature (in the wiki of components wish list or in JIRA ?)

            Thanks once more

            • 3. Re: extendedDataTable database pagination
              nbelaevski

              1. Yes
              2. Why not use rich:scrollableDataTable?

              • 4. Re: extendedDataTable database pagination
                gonzalad

                2. Why not use rich:scrollableDataTable?
                Good question ! I've just showed extendedDatatable demo (from RF demo site) to my client and they prefered it because of :
                - looks nicer.
                - possibility to filter column (components in the header).

                I'll give a try to scrollableDataTable before asking unnecessary enhancements ;)).

                Thanks !