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.
Unfortunately, activation email could not send to your email. Please try again.

resize column width of griddataboundgrid

Thread ID:





72934 Apr 11,2008 03:09 AM Apr 16,2008 04:15 AM Windows Forms 3
Tags: GridControl
Sherly Numawaty
Asked On April 11, 2008 03:09 AM

hi all....
i' using this code to resize the column

e.Size = 60;
e.Handled = true;
on Model_QueryColWidth as i read on this forum
but the things that i want to do is
set the default column width (each column)with possibility to resize the column by user.

thank u so much for all ur respond,


Jisha Joy [Syncfusion]
Replied On April 15, 2008 07:06 AM

Hi Shirley,

Thank you for posting your query to us.

Resize the column by user.

By default GridDataBoundGrid allows you to resize the column by dragging the column header at run time. Please refer the video:


If I misunderstood your requirement please explain me in detail.


Sherly Numawaty
Replied On April 15, 2008 11:09 PM

thank u so much jisha

i've looked ur video,

when i used
e.Size = 60;
e.Handled = true;
on Model_QueryColWidth,

at runtime, i cant resize it as u show me on the video..

so is it possible for me to used that code, and that column still resize able at runtime?

thank u


Jisha Joy [Syncfusion]
Replied On April 16, 2008 04:15 AM

Hi Sherly,

Thank you for update.

NO. It is not possible because when we resize the column width QueryColWidth is fired everytime and setting the width to specified value.

Kindly let me know if you have any questions.



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.

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.