Hi Team,
I want to put checkbox to select the particular row.Below is the block inside listgroup.
Hello Ujwala,
I have attached URL and dummy OML for your Referencehttps://akshayproject.outsystemscloud.com/Forumtest/Names?_ts=637728272427092548
Thanks and Regards,
Akshay Deshpande
Hi Ujwala,
I am attaching an OML with little diffrent approch. Go through it once. Hope this will help.
I think you can add attribute (boolean) to the source of aggregate (or List). Then add checkbox widget to the list item with value is the new attribute.
Hope this helps,
Khuong
Hi ujwala,
Create a structure with one attribute having data type as boolean. Add this structure as a source in your aggregate where you are fetching data. then add the checkbox widget to the list and bind it with that structure attribuite.
Poonam
Hi,
Thanks,
I have done this as said,
How to select only one checkbox in list.
Set the by default value as False of structure attribute. On clicking any of the checkbox, call a action that takes the id of the selected row as an input parameter. With the help of this ID you can create your own logic.
If you are binding you list with Aggregate then, you just add new bool attribute "IsSelected" and assign the value is False.
At the time of binding, you checkbox will be default uncheck because "IsSelected" is false.
Now when you click on checkbox, that time update the True value for "IsSelected" attribute for the particular record.
Thanks
Please check the below,I have added as said on selection ,How the pass the Id.need to pass the current enterprise ID
Call an action which takes the ID of selected row on "OnChange" event of checkbox, here the ID is your main source unique identifier.
I have added the checkbox in structure attribute and added that as a source in aggregate,
But If I select one checkbox,all will be selected.