Hi, Is there any mechanism in Ultragrid to expand all child rows inside a Groupbyrow when I click on "+" sign of the Ultragroupby row.Please do reply as I am wondering how to achieve this?
Actually my need is , that "+" symbol showing in the parent band even though it dont have any child bands.
How to remove that plus "+"symbol ,if there s no child band for particular row.
Even though there s no chilb band in bom # row showing "+" symbol
I need to do same way, But I need to assign runtime source instead of assigning ultradatrasource at design time.PLz any one help me its urgent
Hello Sutha,
So, you too need to have this expansion indicator showing, only if the row has any children? If that is your requirement, then the way you assign the data source is not relevant in the case. Danko's solution will work either way, because the event he used, will be fired after the data source changes on the 'WinGrid' control.
Please let me know if you feel that I have misunderstood you.
(only if the row has any children?) This is what you have told me right. I need that one only. How to add child rows at runtime using ultragrid in c# windows
Sutha,
You could do this by using the 'AddNew()' method on the band. Here is an example:
ultraGrid1.Rows[0].ChildBands[0].Band.AddNew();