This question is locked. New answers and comments are not allowed.
Hello guys.
I''ve got common hierarchical design grids;
I need acces to inrenalGrid.CurrentItem. But at code I can't access to my grWorkPlaces. So what's wrong? And what should I do?
Thanks.
I''ve got common hierarchical design grids;
<
telerikGridView:RadGridView
Grid.Row
=
"1"
HorizontalAlignment
=
"Left"
x:Name
=
"grRegistrateProducts"
/>
<
telerikGridView:RadGridView.ChildTableDefinitions
>
<
telerikGridView:GridViewTableDefinition
>
<
telerikGridView:GridViewTableDefinition.Relation
>
<
telerikData:PropertyRelation
ParentPropertyName
=
"WorkPlaces"
/>
</
telerikGridView:GridViewTableDefinition.Relation
>
</
telerikGridView:GridViewTableDefinition
>
</
telerikGridView:RadGridView.ChildTableDefinitions
>
<
telerikGridView:RadGridView.HierarchyChildTemplate
>
<
DataTemplate
>
<
telerikGridView:RadGridView
ItemsSource
=
"{Binding WorkPlaces}"
x:Name
=
"grWorkPlaces"
ShowGroupPanel
=
"False"
AutoGenerateColumns
=
"False"
>
<
telerikGridView:RadGridView.Columns
>
<
telerikGridView:GridViewDataColumn
UniqueName
=
"Id"
IsReadOnly
=
"True"
MinWidth
=
"200"
MaxWidth
=
"400"
/>
</
telerikGridView:RadGridView.Columns
>
</
telerikGridView:RadGridView
>
</
DataTemplate
>
</
telerikGridView:RadGridView.HierarchyChildTemplate
>
<
telerikGridView:RadGridView.Columns
>
<
telerikGridView:GridViewDataColumn
UniqueName
=
"Name"
IsReadOnly
=
"True"
MinWidth
=
"200"
MaxWidth
=
"400"
/>
</
telerikGridView:RadGridView.Columns
>
</
telerikGridView:RadGridView
>
Thanks.