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.
Unfortunately, activation email could not send to your email. Please try again.

Select a row programmatically

Thread ID:

Created:

Updated:

Platform:

Replies:

119529 Jul 3,2015 05:22 PM Jul 6,2015 09:20 AM Windows Forms 1
loading
Tags: GridDataBoundGrid(Classic)
Alex
Asked On July 3, 2015 05:22 PM

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

Alejandro

Arun Kumar V [Syncfusion]
Replied On July 6, 2015 09:20 AM

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.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;