Hi, I'm writing an application which displays the result of calculations that it carries out in data grids.
In one case, a datagrid is populated with ~350,000 rows. This causes the UI to become unresponsive as soon as a user selects all rows and changes selection again.
Is there any way I can limit the number of rows that a user can select? I.e. show an error message when the selection size is >50,000 and stop the datagrid from loading the row details (if that's what causes the UI to become unresponsive)?