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

Select column

1 Answer 31 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ron klod
Top achievements
Rank 1
ron klod asked on 07 Apr 2010, 08:41 PM
Hi,

I have a grid with a select column, the grid also contains a row details toggle column.

I have 2 problems:
1. whenever I click on the select column header checkbox to select all the rows, the row details is opened for all the rows, is there a way for this not to happen, I would like to select all the rows and that the row details will stay closed
2. is there a way to check\uncheck programitaclly the select column header checkbox?

10x

Ron

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 13 Apr 2010, 08:33 AM
Hello ron klod,

The visibility state of row details is controlled by the RowDetailsVisibilityMode property which when set to VisibleWhenSelected causes the details to become visible when the corresponding item is select thus causing the problem that you have described. If you change RowDetailsVisibilityMode to Collapsed the row details should no longer expand on select.

Whenever an item is selected it is added to the SelectedItems collection of RadGridView - this collection can be modified and if, for instance, an item is removed from this collection its corresponding Checkbox will be unchecked. More information about our selection mechanism can be found here.


Sincerely yours,
Milan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
ron klod
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or