Javascript Select all function

2
Is there a javascript action in the mxui that allows you to select all the rows in a datagrid? I know we have a button which can be added to the datagrid to select all so there must be a function behind it available. I need to basically create my own custom datagrid with a checkbox in the header to select all the rows when it is pressed. Also before you tell me, I know there is a checkbox reference selector on the appstore, but i do not want to use this for a number of reasons.
asked
2 answers
2

There is no supported way to programmatically select all rows in a data grid. Currently built-in widgets do not expose a public API.

answered
0

What about adding an enum with an image of a x or a tick. Add add microflow buttons that selects all by selecting all in the microflow using a retrieve and updating the enum to selected (tick) and a microflow button that deselects all, again select all in the microflow and set the enum to unselected (X). it work visually and you can use the enum in processing

answered