EasyUI Forum
September 14, 2025, 10:58:11 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / about datagrid "fit" attribute help on: November 19, 2013, 05:10:08 AM
Hi,
 I hava a question for datagrid fit the layout of center, the center put in tab , datagrid in tab. But the grid's height less "30px" for the tab,so my some data don't to show,and the pagination to show.here hava a different that I set two tollbar,like this :

            toolbar:"#device-str-toolbar1,#device-str-toolbar",
            pagination: true,
            pageSize: 30,
            idField: 'id',
            striped: true,
            fitColumns: true,
            fit: true,

thanks for your help!
2  General Category / EasyUI for jQuery / datagrid for vertical scrollbar display question 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!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!