This is a migrated thread and some comments may be shown as answers.

Column width auto adjust

2 Answers 182 Views
GridView
This is a migrated thread and some comments may be shown as answers.
gerardo
Top achievements
Rank 1
Veteran
gerardo asked on 21 Sep 2020, 11:29 AM

Good day.

How can I make the columns width adjust automatically. I want the columns to take the full width of the GridView and have it evenly distributed.

Thank you.

2 Answers, 1 is accepted

Sort by
0
Accepted
Vladimir Stoyanov
Telerik team
answered on 24 Sep 2020, 08:41 AM

Hello Gerardo,

Thank you for the shared picture. 

You can utilize the ColumnWidth property of the RadGridView. Setting its value to "*" will size the columns evenly.

I hope you find this helpful.

Regards,
Vladimir Stoyanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
gerardo
Top achievements
Rank 1
Veteran
answered on 29 Sep 2020, 12:59 PM
Thank you for that Sir
Tags
GridView
Asked by
gerardo
Top achievements
Rank 1
Veteran
Answers by
Vladimir Stoyanov
Telerik team
gerardo
Top achievements
Rank 1
Veteran
Share this question
or