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.

Row selection in GridDataControl (WPF)

Thread ID:

Created:

Updated:

Platform:

Replies:

100096 Jul 4,2011 10:28 AM Jul 7,2011 05:06 AM WPF 1
loading
Tags: GridControl
Jeff King
Asked On July 4, 2011 10:28 AM

Can you tell me how I can make the GridDataControl select rows when I drag the mouse down the row headers (similar to how MS Excel selects ranges of rows).

I have looked at the "Selectins" sample and tried combinations of AllowSelection and ListBoxSelectionMode but I can't make it work.

Thanks
Jeff


Rajasekar [Syncfusion]
Replied On July 7, 2011 05:06 AM

Hi Jeff,

You can achieve your requirement by setting the below properties,

Code Snippet[C#]

this.grid.ShowRowHeader = true;
this.grid.AllowSelection = GridSelectionFlags.Row | GridSelectionFlags.Column | GridSelectionFlags.Multiple;
this.grid.ListBoxSelectionMode = GridSelectionMode.None;

But, we are some facing behavioral problem with Row selection and Header Cell. So that, For providing the patch we have created the incident(#82320). Please update your queries in the incident #82320 for better follow up.

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.

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.

;