Posted 30 October 2017, 5:04 am EST
i am developing grid where i have to display data in a hierarchical way.it’s working fine up to the two layers but in the third i have to display two different child tables under the parent row. i have created the below data relations.
_ds.Relations.Add(“Main Module”, _ds.Tables(0).Columns(0), _ds.Tables(1).Columns(0))
_ds.Relations.Add("Lines", _ds.Tables(1).Columns(1), _ds.Tables(2).Columns(0)) _ds.Relations.Add("Module_Details", _ds.Tables(2).Columns(1), _ds.Tables(3).Columns(0)) _ds.Relations.Add("Subtotal_Details", ,_ds.Tables(2).Columns(1),_ds.Tables(4).Columns(0))
Table(2) is a parent table and Table(3) and Table(4) are the child tables.
Relation ‘Module_Details’ working fine but the parent row is not not displaying ‘Subtotal_Details’ even though table has the data.
Can you please help where i am missing?