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!
Check the following method.
.DisplayLayout.Bands[0].SortedColumns.Add
Example:
YourDrug.DisplayLayout.Bands[0].SortedColumns.Add("ColumnName", false, true);
What do you mean, "YourDrug"?
Are you trying to be cute or something? LOL
Is that what you name your grid?