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
close icon

Scrollbar issue with embedded GridControl in ExtraSection of ggc

I have a grid control embedded in an extrasection of a ggc. Everything seems to work fine with the exception of a horizontal scrollbar in the extra section. I can't seem to get rid of it.

I have the setting below for the ggc ...

this.gridGroupingControl1.TableModel.Options.WrapCellBehavior = GridWrapCellBehavior.WrapRow;

...and the gridcontrol is configured like...


private void InitializeGridControl()
{
this.gridControl1.ThemesEnabled = true;

this.gridControl1.Properties.ColHeaders = false;
this.gridControl1.Properties.RowHeaders = false;
this.gridControl1.RowCount = 1;
this.gridControl1[1, 1].Text = "1";
this.gridControl1[1, 2].Text = "2";
this.gridControl1[1, 3].Text = "3";
this.gridControl1[1, 4].Text = "4";
//this.gridControl1.CoveredRanges.Add(GridRangeInfo.Cells(1, 1, 1, 4));
this.gridControl1.ColCount = this.gridGroupingControl1.TableModel.ColCount + 2;
this.gridControl1.HScrollBehavior = GridScrollbarMode.Disabled;
this.gridControl1.VScrollBehavior = GridScrollbarMode.Disabled;
this.gridControl1.Properties.BackgroundColor = Color.GhostWhite;
this.gridControl1.TableStyle.Borders.All = new GridBorder(GridBorderStyle.None);
this.gridControl1.QueryColWidth += new GridRowColSizeEventHandler(gridControl1_QueryColWidth);
}

I am not sure if this is the scrollbar of the panel (the panel has AutoScroll=false).

1 Reply

AD Administrator Syncfusion Team February 24, 2007 01:16 AM UTC

Hi James,

Thank you for being patience. Your D-Trac incident # 32100 with the same query has been updated. Please continue posting your related queries in the same incident.

Have a nice day.

Best regards,
Madhan

Loader.
Live Chat Icon For mobile
Up arrow icon