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. Image for the cookie policy date
close icon

resize column width of griddataboundgrid

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,

sherly


3 Replies

JJ Jisha Joy Syncfusion Team 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:

http://www.syncfusion.com/support/user/uploads/videocolumn_1e4d7710.zip


If I misunderstood your requirement please explain me in detail.

Regard,
Jisha



SN Sherly Numawaty 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

sherly



JJ Jisha Joy Syncfusion Team 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.

Thanks,
Jisha


Loader.
Live Chat Icon For mobile
Up arrow icon