select a entire row in a griddatacontrol

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.

3 Replies

GK Ganesan K Syncfusion Team 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.


FE Fernando September 17, 2009 03:52 PM UTC

hi friends syncfusions,
How would using version 7.2.037?


CB Clay Burch Syncfusion Team 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

Loader.
Up arrow icon