Greetings,
I have a radgrid where its datasource is bound from an XML output. It has multiple hierarchy levels and has (auto genearted columns = true). On the 2nd level of the hierarchy there are several details tables that automatically get binded. (Please reference image below). However, there are columns which get auto generated displaying the ID's for the detail tables. My goal is to programmatically hide all the ID's in all detail tables. I can hide the CusomterID programmatically using the following code below:
For Each item As GridDataItem In Radgrid_CRGList.Items
''Root Level of Radgrid
Radgrid_CRGList.MasterTableView.GetColumnSafe("OrderID").Visible = False
''2nd Level of Radgrid - 1st Detail Table
Radgrid_CRGList.MasterTableView.DetailTables(0).GetColumnSafe("CustomerID").Visible = False
''2nd Level of RadGrid - 2nd Detail Table
''' Place code here to hide EmployeeID ''
Next
The issue is that I can't figure out the code to hide the EmployeeID in the 2nd details table on the same hierarchy level of the radgrid. Please Help!
I have a radgrid where its datasource is bound from an XML output. It has multiple hierarchy levels and has (auto genearted columns = true). On the 2nd level of the hierarchy there are several details tables that automatically get binded. (Please reference image below). However, there are columns which get auto generated displaying the ID's for the detail tables. My goal is to programmatically hide all the ID's in all detail tables. I can hide the CusomterID programmatically using the following code below:
For Each item As GridDataItem In Radgrid_CRGList.Items
''Root Level of Radgrid
Radgrid_CRGList.MasterTableView.GetColumnSafe("OrderID").Visible = False
''2nd Level of Radgrid - 1st Detail Table
Radgrid_CRGList.MasterTableView.DetailTables(0).GetColumnSafe("CustomerID").Visible = False
''2nd Level of RadGrid - 2nd Detail Table
''' Place code here to hide EmployeeID ''
Next
The issue is that I can't figure out the code to hide the EmployeeID in the 2nd details table on the same hierarchy level of the radgrid. Please Help!