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.

Resizing GRid

Thread ID:

Created:

Updated:

Platform:

Replies:

27822 Apr 19,2005 06:04 AM Apr 19,2005 06:47 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 19, 2005 06:04 AM

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 06:47 AM

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.

CONFIRMATION

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.

;