Hi,
The MultiColumnComboBox.ListBox returns the GridListControl associated with it. You could handle the GridListControl.Grid''s PrepareViewStyleInfo event and set e.Style.Text for the appropriate e.ColIndex and e.RowIndex (coordinates that point to the header cell) values for the cell.
GridListControl gcontrol = this.multiColumnBoundCombo.ListControl as GridListControl;
gcontrol.Grid.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(grid_PrepareViewStyleInfo);
private void grid_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
if(e.ColIndex == 1 && e.RowIndex == 0)
{
e.Style.Text = "My Custom Header";
}
}
Please refer to the
complete_sample attached here that illustrates the above and let me know if this meets your requirements. We appreciate your interest in Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.