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 : Nov 16th 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:

Created:

Updated:

Platform:

Replies:

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

Hi,

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;

regards,
ram.



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.

Thanks,
Karthick


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

;