Hi,
I have a three tier datagrid Hierarchy which basically consists of a Radgrid, in the Radgrid i have specified a master table and a detail table. Within the detail table i have also specified a nested view template which holds another radgrid. The set up works fine as everything expands as it should.
However, while selecting an item in the 3rd level of the hierarchy i would like to obtain a reference to the item expanded in the first level.
at present i am trying to perform this operation like so
The event isn't important, but e is of type GridSortCommandEventArgs.
The problem with this is that ParentItem is null.
This technique has worked in the same project when trying to get a handle from the detail table to the master table which leaves me to believe that a relationship must be set up between the nested view template and the detail table.
Any help will be greatly appreciated thank you
I have a three tier datagrid Hierarchy which basically consists of a Radgrid, in the Radgrid i have specified a master table and a detail table. Within the detail table i have also specified a nested view template which holds another radgrid. The set up works fine as everything expands as it should.
However, while selecting an item in the 3rd level of the hierarchy i would like to obtain a reference to the item expanded in the first level.
at present i am trying to perform this operation like so
e.Item.OwnerTableView.ParentItem.GetDataKeyValue(
"EnquiryNo"
);
The problem with this is that ParentItem is null.
This technique has worked in the same project when trying to get a handle from the detail table to the master table which leaves me to believe that a relationship must be set up between the nested view template and the detail table.
Any help will be greatly appreciated thank you