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.
Syncfusion Feedback

How can i make some columns width increase/decrease to fill up the grid''s width

Thread ID:

Created:

Updated:

Platform:

Replies:

60478 May 5,2007 11:12 PM UTC May 7,2007 05:33 PM UTC Windows Forms 1
loading
Tags: GridControl
Ubaid
Asked On May 5, 2007 11:12 PM UTC


Hi haneef ... How can i make some columns width increase/decrease to fill up the grid's width .. let me explain you with an example

Suppose i have 2 columns in grid each of width 20 and the width of my grid is 70. Now i want that the width of column 2 would become 50 as i have 30 units free (70 - (20 + 20 ) = 30). also when i increase the width of grid, column width should also increase with it to fill up the free space and when i decrease grid's width, column width should also decrease but not less than its original size (20). after that scrollbar should become visible. how can i do this ??

Regards,
Ubaid Tariq

Saravanan A [Syncfusion]
Replied On May 7, 2007 05:33 PM UTC

Hi Ubaid,

Please refer to this knowledge base article.
How can I have my grid auto adjust column widths so that the columns completely fill the grid's client area?

Best Regards,
Saravanan

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.

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

;