
When working with a detail and you need to control enabling multi-select on or off and also programmatically selecting all rows, or none, the detail has some built in functions that you can use to accomplish this. These functions are part of the detail, which are available from the GridUtilitiesV2 mixin.
Turning Multi-Select On
To turn on multi-select for the detail, which will show a checkbox for each row:
this.setMultiSelect();
Turning Multi-Select Off
To turn off multi-select for the detail, which will hide the checkboxes:
this.unSetMultiSelect();
Selecting All Rows
To select all rows in the detail, which will enable multi-select, showing the checkboxes, and also will check all:
this.setSelectAllMode();
Deselecting All/Any Rows
To deselect all, or any selected rows in the detail, which will uncheck all rows, but does not hide the checkboxes (to hide the checkboxes, disabling multi-select, you can also call unSetMultiSelect):
this.unSelectRecords();
Subscribe To Our Newsletter
Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!
You have Successfully Subscribed!