Check Box Select/Deselect All on Grid

The below function is to be used on a grid with multiple check boxes. Place the code behind a FieldChange event and users will have the option to Select or Deselect grid rows all at once.
Function selectAllRows To ).GetRowset(Scroll.scroll_table);
/*Call Function*/ selectAllRows(&rs);

The same code would work for multiple check boxes "Deselect All", just change the name of the function and line &row.Selected = True; to &row.Selected = False;

Make sure the Multiple Row (Check Box) is checked on the grid properties.

Check Box Select/Deselect All on Grid

上一篇:scrapy 爬取 useragent


下一篇:[XAF] How to represent an enumeration property via a drop-down box with check boxes