easyui datagrid nowrap 使用方法

经过我多次试验,nowrap 如果为true,则在同一行中显示数据。设置为true可以提高加载性能。

这种形式才能生效,<script type="text/javascript">
$('#tt').datagrid({
nowrap: false
});
</script>

无效<th data-options="field:'',115,editor:'text',sortable:true,align:'center',title:'',nowrap:false"></th>

原文地址:https://www.cnblogs.com/ljsn/p/6014791.html