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.
Hello,
Isn't my solution good enough for you? Or you wanted something different?
Please, if possible, share your code so the other community members could benefit from this thread as well, we will appreciate this.
Anyway thanks to infragistics team. I found the solution using relation concepts
Could you please review the sample attached to this post and see if it meets your requirements.Please feel free to let me know if I misunderstood you or if you have any other questions.
Yes correct . Kindly prove sample code for that.
Sutha,
You could do this by using the 'AddNew()' method on the band. Here is an example:
ultraGrid1.Rows[0].ChildBands[0].Band.AddNew();