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

resize column width of griddataboundgrid

Thread ID:





72934 Apr 11,2008 07:09 AM UTC Apr 16,2008 08:15 AM UTC WinForms 3
Tags: GridControl
Sherly Numawaty
Asked On April 11, 2008 07:09 AM UTC

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 11:06 AM UTC

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 16, 2008 03:09 AM UTC

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 08:15 AM UTC

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.

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