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

how to set Excel like selection in GridDataControl

Thread ID:





97334 Nov 18,2010 10:12 AM UTC Nov 24,2010 02:26 PM UTC Silverlight 1
Tags: GridControl
Asked On November 18, 2010 10:12 AM UTC


Tell me procedure do Excel like selection in GridDataControl.
I tried like this not working...

this.grid.Model.Options.ExcelLikeCurrentCell = true;
this.grid.Model.Options.ExcelLikeSelectionFrame = true;


Karthick Ravichandran [Syncfusion]
Replied On November 24, 2010 02:26 PM UTC

Hi Ram,

Thanks for choosing Syncfusion Product.

You can achieve your requirement by setting the ListBoxSelectionMode property as MultiExtentended to select the multiple rows in the GridDataControl. Please find the code snippet from the following.

[Code Snippet] [C#]
this.dataGrid.Model.Options.ExcelLikeCurrentCell = true;
this.dataGrid.Model.Options.ExcelLikeSelectionFrame = true;
this.dataGrid.Model.Options.AllowSelection = Syncfusion.Windows.Controls.Grid.GridSelectionFlags.Any;
this.dataGrid.ListBoxSelectionMode = GridSelectionMode.MultiExtended;

Please let us know if you need more information.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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