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

select a entire row in a griddatacontrol

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 06:39 AM UTC

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 03:52 PM UTC

hi friends syncfusions,
How would using version 7.2.037?

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

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.

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

;