Getting DataGrid to resize when dynamically collapse DataGridColumns

Apr 23, 2009 at 2:42 AM
I have a DataGrid whose width is set to Auto. I would hope that it would automatically resize when I collapse some of the columns in code behind.
My columns disappear, but the grid does not automatically resize. Is there a way to do this or is this a known issue?

THANKS!