Page 1 of 1

VLF-Wam - LANSA 13.2 - Using a dropdown in a list

Posted: Wed Nov 09, 2016 7:16 am
by PierreLefrancois
Hello,

This is a VLF-Wam LANSA 13.2 question.

Where can I find an example of using a static dropdown Weblet (std_dropdown) in a JQuery enabled grid (std_grid_v3) ?

I did not find any examples in the 13.2 WAM or VLF guides.

I have seen examples of using a fp_rcomb FastPart Weblet but I feel like there should be something simpler.

Thanks - Pierre

Re: VLF-Wam - LANSA 13.2 - Using a dropdown in a list

Posted: Wed Nov 16, 2016 3:10 pm
by AbelS
Hi Pierre

Click on the “grid_col_properties” property of the grid and choose to customize the column you want to change to a dropdown. Once this is done, you can drag and drop the dropdown weblet on that column.

HTH
Abel

Re: VLF-Wam - LANSA 13.2 - Using a dropdown in a list

Posted: Thu Nov 17, 2016 11:40 pm
by PierreLefrancois
Abel,

Thank you for your reply.

Confusion was about what should be specified for the "Name" and "Value" properties of the std_dropdown when used in a std_grid.

In my case, "@id" and "." is needed but documentation only talks about "$fieldname/@id" and "$fieldname".

Help for name does not mention the use of "@id" :
If the Weblet is used for a field in a list, the name must be the is ($fieldname/@id)

Help for value does not mention the use of "." :
The value to set the weblet to.


Thanks again - Pierre