EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: zhinly on June 28, 2013, 08:07:27 PM



Title: datagrid for vertical scrollbar display question
Post by: zhinly 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!


Title: Re: datagrid for vertical scrollbar display question
Post by: Pierre on March 29, 2016, 05:40:49 AM
Old question but same problem - does someone solved it (for better understanding, I attached image).
Tree control works perfect but DataGrdi and TreeGrid - not.
Thank you for any idea.


Title: Re: datagrid for vertical scrollbar display question
Post by: roberto on December 06, 2018, 07:54:44 PM
it would very nice to get this feature working  ;)