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

Child Grid Selection issue

1 Answer 51 Views
GridView
This is a migrated thread and some comments may be shown as answers.
nisar
Top achievements
Rank 1
nisar asked on 22 Sep 2017, 09:43 AM

Hello, 

I am using Telerik GridView Hierarchy and there are few tabs inside the grid, When I click on the tab, The related child grid first cell should be selected by default, and if user click on other than first cell in subgrid then that selection should be retained after changing one tab to another. Snapshot of tab and subgrid is attached for better understanding.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Sep 2017, 08:16 AM
Hello, Nisar, 

Thank you for writing.  

You can handle the CurrentViewChanged event and make the desired column current and selected. Thus, you can store the selection when switching between the different tabs and restore it when it is necessary. Additional information for selecting programmatically in RadGridView is available here: http://docs.telerik.com/devtools/winforms/gridview/selection/selecting-rows-and-cells-programmatically

If you have any further questions, feel free to submit a support ticket where our support staff will gladly assist you. 

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
nisar
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or