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

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


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

1 Reply

SA Saravanan A Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon