This is a migrated thread and some comments may be shown as answers.

Programmatic selection of a grouped row

1 Answer 41 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Barry
Top achievements
Rank 1
Barry asked on 08 May 2008, 09:29 PM
I'm using the current version of the Winform GridView control.

Assuming I've got the grid bound to some data and some of the columns are configured to group in a nested hierarchy. Is it possible to make one of the grouped rows the currentl row via code?

Thanks

Barry

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 10 May 2008, 01:45 PM
Hello Barry,

Thank you for the question.

You could make a chosen grouped row at run-time as shown in the code below:
this.radGridView1.MasterGridViewTemplate.Rows[0].ChildRow.ChildViewInfo.Rows[0].IsCurrent = true

Keep in mind that the row, you would like to make current, should be expanded.

I hope this helps. If you have other questions, do not hesitate to contact me again.

Greetings,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Barry
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or