I want to be able to customize the GroupByRow by adding the value of this group, and a indicator based on the rows in the group and finally display in a particular format. I think I need to do it in ultraGrid1_InitializeGroupByRow(). It looks like this:
Account Id: 123900 VIP Cash <--- accout Id column is hidden in the rows, but how do I receive this value to use row 1 <--- how to retrieve the info in teh underneath group row 2 row 3 Account Id: 124500 Regular Credit row 1 row 2
You might want to look at the GroupByRowDescriptionMask property, which might give you much of what you're looking for. If you need more customizability, you are correct in that you'd need the InitializeGroupByRow event, within which you would set the Description of the row yourself. If you need to get at the rows that belong to that GroupByRow, you can get them from the Rows property of the GroupByRow; from here, you can access individual cell values as you would normally.
-Matt
Matt,
Thanks, I have it mostly working - I set e.Row.Description to my customize string. now I have more requests:
1. The first GroupByRow is highlighted when the grid populated, how do I turn it off - I don't want any rows in the grid pre-selected.
2. I would like to place an icon in the GroupByRow, when the icon clicked, I want to either display a tool tip or populate a small window. I am thinking to add a linked box or something, but how do I hook it up with Description which is just a string. Do I need to override some function to accomplish?