Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
985
Hide Columns in XamdataGrid from Child Datatable
posted

Hi there,

 i have one dataset with two datatables. one datatable is related to the other table like this:

 

DataSet Test = new DataSet(); 

 

DataTable Parrent = new DataTable();

Parrent.Columns.Add(New DataColumn("Customer"));

Test.Tables.Add(Parrent); 

 

DataTable Child = new DataTable();

Child.Columns.Add(New DataColumn("Customer"));

Test.Tables.Add(Child);

 

in my xamdatagrid they were shown correctly with the Plus to expand.

 

But now i want to hide the Customer-Column in the Child-Table and all the ColumnHeaders in the Child-Table.

Is this possible somehow?

 

regards

Cloud