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

re-bounding scrollbar

Hello, in GGC, What should be reset when I rebound datatable to GGC datasource. On my GGC form, when I rebound, the horizontal scroolbar disappears, though there are a lot of columns need to be scrolled to see them. and the columns'' width become equal. I what to auto-fit the width. Is there function for double clicking the boundery between columns header to auto-fit column''s width? Thanks, Lan

1 Reply

AD Administrator Syncfusion Team June 27, 2005 06:19 PM UTC

This sample shows how to rebind the grid. \Syncfusion\Essential Studio\\Windows\Grid.Windows\Samples\Grouping\GridGroupingRebind To resize on a double click, you can try handling teh TableControlResizingCols event.
private void gridGroupingControl1_TableControlResizingColumns(object sender, GridTableControlResizingColumnsEventArgs e)
	if(e.Inner.Reason == GridResizeCellsReason.DoubleClick)

Live Chat Icon For mobile
Up arrow icon