Posted 3 May 2018, 1:52 pm EST
I know this is possible by looping through the rows and adding each one to the selected rows collection. However, this is really slow for grids with many rows.
You can select all rows using the UI very quickly by selecting the first row using the record selector, scrolling to the last row, holding down the shift key and then selecting the last row.
Is there a way to replicate this programmatically or another way that performs much better?