We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

FreezeRange

If the gridlines are turned off in a spreadsheet, the freeze pane lines no longer are painted on the grid. How can I still view the freeze pane lines when the gridlines are turned off? Interestingly, Excel does show the Freeze Pane lines when the gridlines are off. Thanks Steve

1 Reply

AD Administrator Syncfusion Team August 10, 2004 01:42 PM UTC

If you are using this property this.gridControl1.Properties.DisplayVertLines = false; then try commenting that code out, and instead use this code. this.gridControl1.TableStyle.Borders.Right = new GridBorder(GridBorderStyle.None); this.gridControl1.ColStyles[this.gridControl1.Cols.FrozenCount].Borders.Right = new GridBorder(this.gridControl1.DefaultGridBorderStyle);

Loader.
Up arrow icon