6 Replies Latest reply on Aug 23, 2007 12:07 PM by richajon

    How to use rich:scrollableDataTable

    rachana patel Newbie

      Hi
      I was trying to use rich:scrollableDataTable, But I found there are no events like 'onRowMouseOver', 'onRowMouseOut' even 'onRowclick'.

      Is rich:scrollableDataTable meant to replace rich:dataTable if we want sorting and other features? Or its meant to be used in combination with rich:dataTable?

      I am looking forward to use this component. Will appreciate any help.

      Thanks!

        • 1. Re: How to use rich:scrollableDataTable
          Sergey Smirnov Master

           

          "icai" wrote:

          Is rich:scrollableDataTable meant to replace rich:dataTable if we want sorting and other features?


          rich:scrollableDataTable is NOT a replacement for rich:dataTable. Both of them will be in the lib.

          sortable feature going to be implemented for rich:dataTable in the future versions. It is not scheduled yet, but rather sooner than later. It is one of the asked feature.

          Currently, both components reuse the same rich:column, but do not use the whole potential of it. It is reservation for the future.

          • 2. Re: How to use rich:scrollableDataTable
            Maksim Kaszynski Apprentice

            Well, there's no problem for us to add those events if they were missed.

            rich:dataTable and scrollableDataTable are separate components with different feature sets. dataTable provides totals and column grouping while scrollable doesn't. Scrollable provides sorting, selection and column resize, as well as ajax scrolling.

            These components have been developed separately, but will have more common features in future.

            Sorting will be implemented in future versions of dataTable, but I doubt that it will have resizable headers.

            Cheers
            Maksim

            • 3. Re: How to use rich:scrollableDataTable
              Maksim Kaszynski Apprentice

              Funny. It seems that both I and Sergey have posted simutaneously

              • 4. Re: How to use rich:scrollableDataTable
                rachana patel Newbie

                Thanks for replying!

                • 5. Re: How to use rich:scrollableDataTable
                  Maksim Kaszynski Apprentice

                   

                  "icai" wrote:
                  Hi
                  I was trying to use rich:scrollableDataTable, But I found there are no events like 'onRowMouseOver', 'onRowMouseOut' even 'onRowclick'.


                  http://jira.jboss.com/jira/browse/RF-644

                  • 6. Re: How to use rich:scrollableDataTable
                    richajon Newbie

                     


                    rich:dataTable and scrollableDataTable are separate components with different feature sets. dataTable provides totals and column grouping while scrollable doesn't. Scrollable provides sorting, selection and column resize, as well as ajax scrolling.

                    These components have been developed separately, but will have more common features in future.

                    Sorting will be implemented in future versions of dataTable, but I doubt that it will have resizable headers.


                    Will the DataTable have a scrolling feature (no header resize, just scrolling built in the tag)?

                    I am using the DataTable component in but getting a nice scrolling bar which does not hide headers is a pain adn breaks the cell css styling (putting a scrooling on the "tbody" tag). If the same parameters: height, width could be added to the DataTable component with auto scrolling it would be great.

                    Thanks