It is occupying unnecassary space as the user cannot move columns .I tried CanUserReorderColumns
="False" but it still shows up
Thanks
6 Answers, 1 is accepted
<
telerikGridView:RadGridView x:Name="MyGrid" AutoGenerateColumns="false" ShowGroupPanel="False" CanUserReorderColumns="False" >
<telerikGridView:RadGridView.Columns >
<telerikGridView:GridViewDataColumn UniqueName="Name" Header="Name" />
</telerikGridView:RadGridView.Columns>
</telerikGridView:RadGridView>
GridViewTableDefinition detailDefinition = new GridViewTableDefinition();
detailDefinition.Relation =
new PropertyRelation("items");
this.MyGrid.TableDefinition.ChildTableDefinitions.Add(detailDefinition);
this.MyGrid.ItemsSource = rates;
So I am defining the child grid in code but how do I do it is xaml or what code do I need? all the examples show using the hierachy as I did
You can use HierarchyChildTemplate similar to our "First Look" demo.
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.