The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I would like to know how to programmatically select multiple rows in a syncfusion data grid. i.e I know the rows I want to highlight through some external source. I need the grid now to reflect the same.
[The selection type is - multiple rows. Can have multiple ranges].
I tried setting using the datagrid.Model.SelectedItems.AddRanges(), .Add()... methods. They need GridRangeInfo objects. [Dint know how all the properties that need to be set on that object. Dint even know if this is the right approach. Hence ths post]
Could you please help me resolve this issue? A test app will be helpful.
Thanks a lot!
ADAdministrator Syncfusion Team April 5, 2006 01:06 PM UTC
>Hi,
>
>I would like to know how to programmatically select multiple rows in a syncfusion data grid. i.e I know the rows I want to highlight through some external source. I need the grid now to reflect the same.
>[The selection type is - multiple rows. Can have multiple ranges].
>I tried setting using the datagrid.Model.SelectedItems.AddRanges(), .Add()... methods. They need GridRangeInfo objects. [Dint know how all the properties that need to be set on that object. Dint even know if this is the right approach. Hence ths post]
>
>Could you please help me resolve this issue? A test app will be helpful.
>
>Thanks a lot!