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

Get Spreadsheet selected cell and selected range

Thread ID:

Created:

Updated:

Platform:

Replies:

104487 Jul 23,2012 03:58 PM UTC Jul 30,2012 11:23 AM UTC WPF 1
loading
Tags: SpreadsheetControl(Classic)
Alex Kent
Asked On July 23, 2012 03:58 PM UTC

Is it possible to get a spreadsheet's selected cell and/or selected range. I cant seem to find a way.

Thanks

Ponraja A [Syncfusion]
Replied On July 30, 2012 11:23 AM UTC

Hi Alex,
 
Thanks for using Syncfusion product.
 
You can get the select cells and selected ranges in the spreadsheet control by using the SelectedCells and SelectedRanges property in GridModel as show in the following code snippet.
 
[C#]
 
var selectedcell = Spreadsheet.GridProperties.ActiveSpreadsheetGrid.Model.SelectedCells;
var selectedrange = Spreadsheet.GridProperties.ActiveSpreadsheetGrid.Model.SelectedRanges;
 
Please let us know if you have any queries.
 
Regards,
Ponraja

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

;