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

How restrict Particular column resizing in GridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

95336 Jul 2,2010 09:04 AM UTC Jul 5,2010 06:45 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
BoopathiRaja
Asked On July 2, 2010 09:04 AM UTC

Dear Friends,

I am using sync fusion grid control in the winform. In this i am not able to find the already available Feauture, i think so.

Assume that grid control having 5 columns, in this i have to give restriction to resize for 5th column. but in this, other four columns should be resizable. how can i achieve this?.i hope you guys will guide me.

With Thanks & Regards,
Boopathiraja.N

Jisha Joy [Syncfusion]
Replied On July 5, 2010 06:45 AM UTC

Hi Boopathiraja,

Thank you for using Syncfusion products.

You could prevent resizing of the particular column by handling the ResizingColumns event, See the code:

this.gridControl1.ResizingColumns += new GridResizingColumnsEventHandler(gridControl1_ResizingColumns);

void gridControl1_ResizingColumns(object sender, GridResizingColumnsEventArgs e)
{
if (e.Columns.Right == 5)
e.Cancel = true;
}


Regards,
Jisha

CONFIRMATION

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

or the page will be automatically redirected to 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

;