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

Resizing GRid

Thread ID:





27822 Apr 19,2005 10:04 AM UTC Apr 19,2005 10:47 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On April 19, 2005 10:04 AM UTC

Hi I am using DataboundGrid and i want to resize the Grid. I have more than 50 columns and when i resize the window grid should also resize. How can this be achieved.

Administrator [Syncfusion]
Replied On April 19, 2005 10:47 AM UTC

I am not sure I understand what you want to resize. If you want the grid''s bounds to change when you resize its parent window, then you could anchor the grid on all four sides usingthe grid''s Anchor property that it inherits from Control. You could also use some kind of Dock setting to manage this as well. If you anchor the grid on all 4 sides, when you size the form, the grid''s bounds will grow. If you have other controls on this form, then you have to make sure thay are also achored to an edge that will move them as well when the form is resized so these controls will not collide with the grid. (There can only be one control achored on all 4 sides for a given parent window.) If this is not what you wanted, can you describe exactly what you want to change as the grid''s parent is sized.


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