我只知道一个
2:再datagrid里的tablestyles属性添加一个tablestyle再根据要显示的列修改刚加入的
tablestyle的gridcolumnstyle属性添加后可修改gridcolumnstyle的列宽