2 Replies Latest reply on Mar 4, 2011 2:22 AM by ssroy73

    Row-Column selector Component

    ssroy73

      Hi,

       

      We have a requirement where we will select a value from a grid which will highlight the respective row and column. We were planning to use RichFaces but could not find any such existing component.

       

      Can anyone please let me know if there is any. I am attaching a snapshot of the same.

       

      Thanks in advance.

       

      Best Rgds - Roy

        • 1. Row-Column selector Component
          boy18nj

          yes, it is possible

           

          try

           

          rich:dataTable

                              onRowMouseOver="this.style.backgroundColor='#F1F1F1'"

                              onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"

          • 2. Row-Column selector Component
            ssroy73

            Thanks a lot Aman.

             

            Looking at the event you have mentioned for rich:dataTable, it looks like it will highlight only the row. But my requirement is also to highlight that column.

             

            Please correct me if I am wrong.

             

            And thanks once again for response.

             

            Best Regards - Roy