We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Select a row programmatically

Hello, i have an issue, i don't find the way to select a row  programmatically. Somebody can help me?? with this. 
greetings

Alejandro

1 Reply

AK Arun Kumar V Syncfusion Team July 6, 2015 01:20 PM UTC

Hi Alejandro,

Thanks for your interest in Syncfusion products.

To programmatically select rows, you can make use of any of the following methods “SelectedRanges” or “Selections” .

Code Snippet:

this.gridDataBoundGrid1.Model.SelectedRanges.Add(GridRangeInfo.Row(4));

(or)

this.gridDataBoundGrid1.Selections.Add(GridRangeInfo.Row(2));

Please let me know if you have any concerns.

Regards,
Arun.


Loader.
Live Chat Icon For mobile
Up arrow icon