JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › find a specific row in a grid › Reply To: find a specific row in a grid
May 11, 2022 at 3:00 pm
#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/