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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set/Get Active Cell

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 04:45 AM UTC

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.

Warning Icon 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.Close Icon

;