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

[Solved] Column Widths

2 Answers 29 Views
Grid for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jon
Top achievements
Rank 1
Jon asked on 08 Aug 2013, 02:29 AM

I've got a RadDataGrid with four columns, all of which I'm setting the "Width" properties on.  For some reason the control ignores the specified column widths and sets the widths to a "standard" width.

Am I misinterpreting how the column's Width property is suppose to function?  Or is there a RadDataGrid-level property I need to set before the column's width property is enabled?

Cheers, Jon

2 Answers, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 08 Aug 2013, 11:06 AM
Hello Jon,

Thank you for using our RadControls for Windows 8 XAML.

In order to apply fixed width to a column, you need to set the column's SizeMode property to Fixed. You can find additional information in the following help article that shows different scenarios of the usage of the SizeMode property - http://www.telerik.com/help/windows-8-xaml/datagrid-columns-howto-setcolumnswidthusingsizemode.html.

I hope this helps. Let me know should you have any other questions.

 

Regards,
Ivaylo Gergov
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Jon
Top achievements
Rank 1
answered on 08 Aug 2013, 01:06 PM
Hi Ivaylo, thanks for the reply.  Late last night I found that property, but didn't have a chance to update this thread.  Thanks again, Jon
Tags
Grid for XAML
Asked by
Jon
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Jon
Top achievements
Rank 1
Share this question
or