2 Replies Latest reply on Nov 5, 2013 8:52 AM by wwalczak

    rich:extendedDataTable

    wwalczak

      Hi everyone

      Please help me

       

      How select first row of the extendedDataTable on the startup ?

      I want do do auto selection of first row after table loads.

       

      Thanks

        • 1. Re: rich:extendedDataTable
          jhuska

          Hello,

           

          IMHO you can reach your goal by selection attribute of extendedDataTable.

          In other words you should have the id of the row in that collection.

           

          Consider VDL doc for it.

           

          Are you successful ?

          • 2. Re: rich:extendedDataTable
            wwalczak

            Hello

             

            I found it

            <rich:extendedDataTable id="dataId"

            onready="#{rich:component('dataId')}.selectRow(#{Bean.getSelectedIndex()}); #{rich:component('dataId')}.setActiveRow(#{Bean.getSelectedIndex()});" .... />

             

             

            Thanks a lot