HA
haneefm
Syncfusion Team
November 1, 2007 11:24 PM UTC
Hi Sudha,
You can try these code:
gridControl1.BaseStylesMap["Column Header"].StyleInfo.CellType = "TextBox";
gridControl1.BaseStylesMap["Column Header"].StyleInfo.HorizontalAlignment = GridHorizontalAlignment.Left;
gridControl1.BaseStylesMap["Column Header"].StyleInfo.CellAppearance = GridCellAppearance.Raised;
gridControl1.BaseStylesMap["Column Header"].StyleInfo.Borders.All = new GridBorder(GridBorderStyle.Standard, Color.Black);
gridControl1.AllowSelection ^= GridSelectionFlags.Column; //Avoid the Column selection whe editing the columnheader.
Please let me know if this helps.
Best regards,
Haneef