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

Custom Filter With RowDetails Visibility

1 Answer 92 Views
GridView
This is a migrated thread and some comments may be shown as answers.
HARSH
Top achievements
Rank 1
HARSH asked on 20 Jul 2010, 04:32 PM
Hi,

I am adding my custom row filter in telerik  GridView and i am setting Row details visibility also by using a row details template.
I am adding a toggle panel for showing a Row details but i am getting below bugs.

1. When Page loads in grid view for first item is showing + sign in toggle button but that items roww details is still  visible.So after clicking on that + again it comes to normal state.
2. I tried to set row details visibility mode to Collapsed initial and when RadGrid is loaded i was using mouse enter event to set RowDetailsVisibility mode to VisibleWhenSelected  but in that case it is not showing row details at all.

Please let me know how to achieve this.

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 21 Jul 2010, 08:31 AM
Hi HARSH,

The GridViewToggleRowDetailsColumn and RadGridView.RowDetailsVisibilityMode are mutually exclusive. You should never used both as described in the documentation.

You should either use the RadGridView.RowDetailsVisibilityMode property to control the state of all grid rows or use a GridViewToggleRowDetailsColumn to control the state of each individual row. Since the GridViewToggleRowDetailsColumn operates on the respective GridViewRow.DetailsVisibilityProperty, having a RadGridView.RowDetailsVisibilityMode different from collapsed might lead to unexpected results. To learn more about this type of column read here.

So you must chose one of them, but not both.

I hope this helps.

Regards,
Ross
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
HARSH
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or