zhinly
|
![](https://jeasyui.com/forum/Themes/default/images/post/question.gif) |
« on: June 28, 2013, 08:07:27 PM » |
|
I have a question for datagrid verticla scroolbar, set its this: $("#cvCheck-grid").datagrid({ url:"../../customer/visit/getPageVisit.action", rownumbers:true, singleSelect:true, autoRowHeight:true, pagination:true, pageSize:30, pageSizeField:'limit', //pageList : [ 30 ], toolbar:'#toolbar', idField:'id', striped: true, fitColumns: true, fit: true, loadFilter: function(data){ if(data == null) return; else return { total: data.data.pagination.totalCount, rows: data.data.result == null ? [] : data.data.result } } }); the question: when my data count the less than the panel's height, its should be not show the vertical scrollbar. But unfortunately, the vertical scrollbar row still show, not hesitate to set the datagrid's style: "overflow" to "hidden",but it‘s not effect. should be what to do? thanks!
|