//dataGrid 设置: allowResizeColumn="true" allowResize="true"
<div class="mini-fit">
<div allowResizeColumn="true" allowResize="true" class="mini-dataGrid" id="basetodolist-grid" allowAlternating="true" pageSize="${pageSize}" sizeList="${sizeList}" multiSelect="true" allowResizeColumn="false" allowMoveColumn="false" allowSortColumn="true" showEmptyText="true" emptyText="暂无数据" style="width: 100%; height: 100%"></div>
</div>
// column:允许拖拽的列设置: allowResize:"true",且不能设置固定宽度
{
header: "内容",
field: "name",
allowSort: true,
align: "center",
headerAlign: "center",
allowResize:"true"
},