Hi there.
First off, I think I'm gonna explain what I'm trying to achieve.
I am trying to have a list where each ListItem has a Checkbox. This list is being populated by an Entity. The user can check as many items of the list as they want to, and when they're finished, they click on a "Done" button on the screen, and all of the items they selected are saved in a Database table.
My problem(s):
I would really appreciate if someone could help me out with this :)
Hi Yizuhi,
Add an extra calculated attribute in the aggregate that populates the list item.
Now in your listitem, bind the checkbox widget to the Selected attribute from the aggregate.
After the user made a selection and pressed the button, on the button logic you can use ListFilter action to filter all selected items from the List.
Regards,
Daniel
Daniël Kuhlmann wrote:
Thanks a bunch, this worked perfectly.
You can add a new attribute of type boolean to your aggregate and use this attribute in your checkbox. That way each row will have an attribute like isSelected for your checkbox. After user submits you can use a listFilter to get the selected ones.
Click new attribute and then set its value to false.
Hope it helps!
Miguel Chaparra
Hi, I have a doubt, does this work same- when we use pagination for the aggregate?