Hello there,
Is there a way to set a property (like AutoFit=true for XamDataGrid WPF) in XamGrid in order to align the columns of the grid to fill the available space? I don't need the last 'blank' - 'pseudo-column' of the grid.
Thanks.
Hi,
Each Column has a Width property, you can set one of the Column's Width to "*" and that column fill the remaining space.
Or you can set all the Column's Width to "*" and they'll share the remaining space equally. We expose a ColumnWidth property on the XamGrid and ColumnLayout, and a Width Property on the Column.
http://help.infragistics.com/NetAdvantage/Silverlight/2010.2/CLR4.0/?page=xamGrid_Change_Column_Width_Settings.html
Hope this helps,
-SteveZ
The problem is that when I change the size of the columns (for example I increase very much the size of a column, such that it goes towards the margin of the xamGrid), the horizontal scrollbar appears. Definitely, this is not the behaviour of the autofit property I expect.
Please, tell me, is there a way to have an autofit behaviour in this case?