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.

Set/Get Active Cell

Thread ID:

Created:

Updated:

Platform:

Replies:

109760 Jul 2,2013 03:28 PM Jul 3,2013 12:45 AM WPF 1
loading
Tags: SpreadsheetControl(Classic)
Carlos Diaz
Asked On July 2, 2013 03:28 PM

Hello, 

I have a little question, how can I set the 'active cell' from code?

Thanks in advance.

Carlos.

Pannir Selvam S [Syncfusion]
Replied On July 3, 2013 12:45 AM

Hi Carlos,

 

Thanks for contacting Syncfusion support.

 

You can set the active cell in spreadsheet by using the following code snippet.

 

Code Snippet[C#]:

var grid = this.spreadSheetControl.GridProperties.ActiveSpreadsheetGrid;

//below code is to activate the cell 3,3.

grid.CurrentCell.MoveTo(3,3);

 

 

We have prepared a sample for this and You can find the sample from the below location

 

Please let us know if you have any other queries.

 

Regards,

Pannir



SpreadsheetDemo_WPF_a70e85f0.zip

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.

;