Hi,
Is there a way to display Non-Numeric column data as well in the GroupByRow?
For example, in the attached screenshot, can I show cols "Instrument Type" and "Internal Portfolio" as well the values are the same.
Thanks
Sangeetha
I hope that works for you. Let me know if you have further questions.
This would be done in the InitializeGroupByRow event of the grid.
Sangeetha,
You could do something like this:
String companyName = e.Row.Description.Substring(0, 15);
if (companyName == "Asset/Liability")
{
if (e.Row.ChildBands.Count > 0)
e.Row.Description += " " + e.Row.ChildBands[0].Rows[0].Cells["Instrument Type"].Text;
}
Of course, that will only get the value from the first child row but you said that the values would all be the same so I think that is what you want. Let me know if that can work for you.
Hi Sangeetha,
I'm not sure exactly what you are asking.
But if you want to change the text displayed in the GroupByRow, you can handle the InitializeGroupByRow event and set e.GroupByRow.Description to any text you want.