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

Auto adjustment of Row height and Column width

3 Answers 218 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Selvam
Top achievements
Rank 1
Selvam asked on 15 Mar 2010, 04:50 PM
Hello team,

I have a view (window) with RadGridView which displays multiple columns. I want to utilize the available realestate on the screen as much as possible. The window has font magnifier using which user can select their font size. When the user switch from higher font size to lower the GridView does not adjust row height and column width for the content and wastes more real estate.

Can you recomend a solution to override the default behavior?

NOTE: Attached a sample project

Regards
Selvam Paramasivan

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 16 Mar 2010, 07:17 AM
Hi Selvam,

Projects attachments are not allowed in forums - you can open support ticket to do this.

All the best,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Michael
Top achievements
Rank 1
answered on 02 Dec 2011, 08:46 PM
Hello,
I am facing the same issue with a WPF RadGridView that has cell content a user may adjust Text Size.  I am looking for a way to set rowheight to 'auto' or to programmatically adjust the height of the row that had cell content size adjusted.

Any suggestions for programmatically adjusting row height?

Thanks,
Michael

0
Vlad
Telerik team
answered on 07 Dec 2011, 09:05 AM
Hello Michael,

 Have you tried to set TextWrapping to Wrap and Width in pixels for your columns?

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Selvam
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Michael
Top achievements
Rank 1
Share this question
or