Hi Boris,
Use the Style.Borders property to change the border of the cell in a grid. Here is a code snippet to show this.
//Collapse the all cell borders in a grid
this.gridControl1.TableStyle.Borders.All = new GridBorder(GridBorderStyle.None);
//Enable the particular cell border and collapse the Right border.
this.gridControl1[2,2].Borders.All = new GridBorder(GridBorderStyle.Solid);
this.gridControl1[2,2].Borders.Right = new GridBorder(GridBorderStyle.None);
//Enable the particular cell border and collapse the left border..
this.gridControl1[2,3].Borders.All= new GridBorder(GridBorderStyle.Solid);
this.gridControl1[2,3].Borders.Left = new GridBorder(GridBorderStyle.None);
If you want to disable the cell border in a grid, you need to set the ShowCurrentCellBorderBehavior property to GridShowCurrentCellBorder.HideAlways.
this.gridControl1.Model.Options.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.HideAlways;
Here is a sample.
GCchangeBorder.zipBest Regards,
Haneef