I\'m pulling xml data to determine which columns are visible, and the widths of each column. My datagrid\'s width can change sinces its on one side of a HDividedBox. The vis
You can accomplish this, it's what I believe is a bug in the DataGrid itself.
If you set minWidth="0" and horizontalScrollPolicy="{ScrollPolicy.AUTO}" on the DataGrid, you can then create DataGridColumn Objects with fixed widths and have it be obeyed properly.
However, there seems to still be an issue with the final column, when the DataGrid is still larger then the sum of all of the fixed widths, it will stretch the final DataGridColumn out.
You could get around this by adding a blank column at the end with no header text etc.