Hi Arun,

I think you need to add it to your OrderList in the groovy script, nothing
to do on the widget level. A simple forEach populating it.

Taher Alkhateeb

On Wednesday, 17 February 2016, Arun Sankar <arunsanka...@outlook.com
<javascript:_e(%7B%7D,'cvml','arunsanka...@outlook.com');>> wrote:

> 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