EasyUI Forum
June 30, 2024, 11:24:38 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datagrid for vertical scrollbar display question  (Read 10129 times)
zhinly
Newbie
*
Posts: 2


View Profile Email
« 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!
Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #1 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.
« Last Edit: March 29, 2016, 05:54:25 AM by Pierre » Logged
roberto
Jr. Member
**
Posts: 88


View Profile Email
« Reply #2 on: December 06, 2018, 07:54:44 PM »

it would very nice to get this feature working  Wink
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!