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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Excel Selection in GridDataControl

Thread ID:

Created:

Updated:

Platform:

Replies:

101502 Oct 28,2011 08:18 PM UTC Nov 21,2011 09:15 AM UTC Silverlight 2
loading
Tags: GridControl
Francisco
Asked On October 28, 2011 08:18 PM UTC

Hi all,
I'm using GridDataControl and GridControl.
It is possible to have the 'excel selection' in the GridDataControl

I'd like to select:
- Multiple rows.
- Multiple columns.
- A range form A2 to C4.

Best

Francisco


Francisco
Replied On November 3, 2011 07:00 PM UTC

Setting the 'AllowSection' on the grid it doesn't work.

It is possible select many rows, many columns on the GridDataControl?

Best
Francisco




Rajasekar [Syncfusion]
Replied On November 21, 2011 09:15 AM UTC

Hi Francisco,

You can achieve your requirement by using the below code snippet,

For Multiple Row Selection:

dataGrid.ListBoxSelectionMode = GridSelectionMode.MultiExtended;
dataGrid.AllowSelection = GridSelectionFlags.Row;

For Multiple Column Selection:

dataGrid.ListBoxSelectionMode = GridSelectionMode.None;
this.dataGrid.AllowSelection = GridSelectionFlags.Column | GridSelectionFlags.Multiple | GridSelectionFlags.Shift;

Please let us know if you have any queries.

Thanks,
Rajasekar




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

;