How do i change the name of a column with C#? The datagrid is being populated with a Dictionary, and it defaults the title to be Value.
Cheers
foreach (Infragistics.Win.UltraWinGrid.UltraGridColumn column in e.Layout.Bands[0].Columns)
{
if(NamesEqual(column.Key, "ID"))
{
column.Header.Caption = "MyNewColumnName";
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With