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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Minimum ColWidth in GGC

Thread ID:





72269 Mar 11,2008 05:24 PM UTC Mar 25,2008 10:38 AM UTC WinForms 1
Tags: GridControl
Asked On March 11, 2008 05:24 PM UTC


1) How to set minimum columns width?
(I want preventing columns from hiding when user resize them and size is about zero)
2) How to set horizontal pixel scrolling.
In GDBG there is property HScrollPixel, and there isn't any like property in GGC

Thank You

Administrator [Syncfusion]
Replied On March 25, 2008 10:38 AM UTC

Hi AlexR,

Sorry for the delay in responding.

1.Preventing columns from hiding when user resize them:

You can use the below code snippet to preventing columns from hiding when resize them.

void TableControl_ResizingColumns(object sender, Syncfusion.Windows.Forms.Grid.GridResizingColumnsEventArgs e)
if (e.Columns.Contains(GridRangeInfo.Col(0)))
e.Cancel = true;

How to set horizontal pixel scrolling?

You can set the horizontal pixel scrolling by using the following code snippet:

this.gridGroupingControl1.TableControl.HScrollPixel = true;

Please refer the sample in the below link which illustrates the above:

Please try this and let me know if this helps.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon