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.

select a entire row in a griddatacontrol

Thread ID:

Created:

Updated:

Platform:

Replies:

90105 Sep 16,2009 01:12 PM Sep 17,2009 07:41 PM WPF 3
loading
Tags: GridControl
Rafael Huapaya
Asked On September 16, 2009 01:12 PM

hi friends syncfusions, as I select a row in a griddatacontrol, if I do click a cell as I do to select the entire row, in gridcontrol did that "grdIdiomaC.Model.Selections.Add (GridRangeInfo.Row (e. RowIndex)) ", sorry for the english.

Thanks.

Ganesan K [Syncfusion]
Replied On September 17, 2009 02:39 AM

Hi Rafael,

Thanks for using Syncfusion products.

You can make use of the ListBoxSelectionMode property for select the entire row when the cell is click.

[Xaml]

AutoPopulateRelations="False" ItemsSource="{StaticResource orderSource}"/>

[c#]

dataGrid.Model.Options.ListBoxSelectionMode = GridSelectionMode.One;

Please download the sample in the below location and check it out.
http://www.syncfusion.com/uploads/redirect.aspx?file=GDCSample_bde3d838.zip&team=development

Please let me know if you need any more details.


Thanks
Ganesan.

Fernando
Replied On September 17, 2009 11:52 AM

hi friends syncfusions,
How would using version 7.2.037?

Clay Burch [Syncfusion]
Replied On September 17, 2009 07:41 PM

I think you should be able to use the same property. Here is a project that selects a whole row for mw when I click on any cell in the row using 7.2.0.27.



AutoSizeCells_1ceee75.zip

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.

;