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
1284
Ultragrid Tree view - Child rows
posted

Hi

   I am working on a .NET 2.0 application using Ultrawingrid. I am binding a dataset to my UltrawinGrid.

The dataset has a parent-child relation. When i bind the dataset data appears like a tree view in the grid.

  'setting relation
oDS.Tables(0).ChildRelations.Add("", oDS.Tables(0).Columns.Item("Status"), oDS.Tables(1).Columns.Item("Status"))   

A Plus symbol appears to the left of every row even if there is no child row.

I want to display the plus symbol only if there are child rows for that parent row.

Please note that  the plus symbol disappears when i click on it if there is no child row.

How to Hide the Plus symbol if there is no child row?

 

Thanks

Ashok