Programmatically Enabling Multi-Select and Select All for a Detail in Creatio

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();
ABOUT THE AUTHOR

Ryan Farley

Ryan Farley is the Director of Development for Customer FX and creator of slxdeveloper.com. He's been blogging regularly about SalesLogix, now Infor CRM, since 2001 and believes in sharing with the community. His new passion for CRM is Creatio, formerly bpm'online. He loves C#, Javascript, web development, open source, and Linux. He also loves his hobby as an amateur filmmaker.

Submit a Comment

Your email address will not be published.

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!