How do I change column sizes?
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 firstname.lastname@example.org. 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.
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".
I am currently unable to reproduce the behavior you are seeing where you receive an error when trying to add a NumericColumn to the Infragistics UWP Preview XamDataGrid control.
It looks like you had tried to provide a screenshot, but it never went through. Would it be possible for you to please place this screenshot in a .zip and attach that?
Also, if you could please provide the XAML or C# code that you are using along with some context of when this code is being called to try to add this NumericColumn to the XamDataGrid, that would be very helpful for me to try to identify this issue you are having.