Can anyone help me to find a way to change the width of a datagrid column at runtime based on the length of the column header. The column header can have variable length.

Thanks a lot.