Hi All,

I am trying to create a csv file using form widget and one of the columns 
requires a Serial number(1, 2, 3 etc.).


<form name="GenerateCSV" type="list" list-name="OrderList"
        odd-row-style="alternate-row" default-table-style="basic-table 
hover-bar" paginate="${paginate}">
        <field title="SrNo" ><display/></field> <!-- Need help with this -->
        <field name="orderId" title="Order Id"><display/></field>
  </form>

My list OrderList is created in the groovy and am using this form to render my 
csv. All the other information is displayed from the list however I am unable 
to understand how to display the serial number sequence.

Can anybody please help with this?

Thanks,
Arun

Reply via email to