#103213
martin-jq
Participant

Hello Oliver,

You can use the OnReady event of the Grid.
Here is an example:

private void OnReady(Grid grid)
 { 
     grid.SelectRowsByIndex(dataRecords.Where(record => record.Id % 2 == 0).Select((x) => x.Id).ToArray());
 }

Best Regards,
Martin

Smart HTMLElements Team
https://www.htmlelements.com/