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
JJ
Jisha Joy
Syncfusion Team
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
BO
BoopathiRaja
July 6, 2010 05:31 AM UTC
Thank you Jisha.It is working fine.
RC
Rajadurai C
Syncfusion Team
July 7, 2010 09:11 AM UTC
Hi Boopathiraja,
Thanks for your update.
Regards,
Rajadurai