Hi ilya,
For achieving this you need to add 2 boolean attributes in that entity one is isSelect which is for each object of that entity, and another boolean for SelectAll abjects of that entity.
Add checkboxes on the page one is for each row in the list assign it a isSelect variable, and one is master checkbox and assign a SelectAll variable from the entity.
We have onClick function for checkbox in Mendix select call microflow option from the onClick option.
In a microflow get the list of all object by using retrieve activity.
And take one decision box set ‘SelectAll=true’ and set the value of “isSelect = true” for the list of object which we retrieved before on true condition, and for false set the “isSelect=false”.
Refer below link its not in Mendix but we can use the logic which explained in the video
https://youtu.be/uP9vJVH8PsY
Hope this will help you.
After some debugging I found that a Select Page gets special form parameters:
mx.ui.openForm2 = async ƒ (e,n,r,o,a)
where
a: {
"formParams": {
"initialSelection": [
"33776997205283421"
],
"pageSelectionTopic": "1630746742541-11",
So if we somehow get access to the selection array then I think we can control it with a checkbox.
If Mendix provided an unminified debug version of their UI javascript things would be much easier for us.
Hi ilya,
For achieving this you need to add 2 boolean attributes in that entity one is isSelect which is for each object of that entity, and another boolean for SelectAll abjects of that entity.
Add checkboxes on the page one is for each row in the list assign it a isSelect variable, and one is master checkbox and assign a SelectAll variable from the entity.
we have onClick function for checkbox in Mendix select call microflow option from the onClick option.
In a microflow get the list of all object by using retrieve activity.