How do I change column sizes?
Hello cdmassey,
To set the Height of the columns in the UWP XamDataGrid, I would recommend setting the HeaderHeight property of the grid to the double pixel value that you would like to see your headers be.
In order to change the column width, you can set the Width property of the columns to a new ColumnWidth element and set the Value property of that ColumnWidth object. The code for this for a TextColumn would look like the following in XAML:
<ig:TextColumn> <ig:TextColumn.Width> <ig:ColumnWidth Value="300" /> </ig:TextColumn.Width></ig:TextColumn>
If you are looking to be able to dynamically change the height and width of the XamDataGrid columns at runtime through the UI, this is currently unsupported. If you would like to see this supported in the full version when it is released, I would recommend e-mailing ideas@infragistics.com. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate Developer
I tried to add a numeric column. It is giving me this error:
Severity Code Description Project File Line Suppression StateError The specified value cannot be assigned to the collection. The following type was expected: "Infragistics_Controls_Column_11_245087183".