Set/Get Active Cell

Hello, 

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

Thanks in advance.

Carlos.

1 Reply

PS Pannir Selvam S Syncfusion Team 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

Loader.
Up arrow icon