1 Reply Latest reply: Dec 3, 2012 2:38 AM by Sushant Sharma RSS

    How to display serial numbers in the results table region

    977427
      Hi
      I am new to Oaf.My Requirement is need to display serial numbers (1,2...upto n rows) for the rows in the results table.
      Pls help me its urgent.

      Thanks,
      Raju
        • 1. Re: How to display serial numbers in the results table region
          Sushant Sharma
          Hi,

          Create a transient attribute in VO for serial Number.

          Write below code to set

          for (i=1;i<VO.getRowCount;i++) {

          vo.setAttribute(Snum, i+1);
          }

          --Sushant