easyui datagrid nowrap 使用方法

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

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

 

 

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

posted @ 2016-10-31 09:41  少年在漂泊  阅读(2230)  评论(0编辑  收藏  举报