首先设置放DataGrid的行,列的宽度,再设置DataGrid的每一列的宽度
将每一列的wrap设为false