Is there any way to add a column to the Outlook Group By Row in code? It is straightforward enough at design time using the designer, but I am not able to do so in code.
TIA!
I meant to be cute, because I have been working a lot with drug data.
What do you mean, "YourDrug"?
Are you trying to be cute or something? LOL
Is that what you name your grid?
Check the following method.
.DisplayLayout.Bands[0].SortedColumns.Add
Example:
YourDrug.DisplayLayout.Bands[0].SortedColumns.Add("ColumnName", false, true);