EasyUI Forum
May 02, 2024, 05:48:39 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: about datagrid "fit" attribute help  (Read 8458 times)
zhinly
Newbie
*
Posts: 2


View Profile Email
« 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!
Logged
hjzhbb7758
Jr. Member
**
Posts: 84


View Profile Email
« Reply #1 on: November 19, 2013, 06:50:26 AM »

fit 无效是因为不知道你dg 外层元素的大小。
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!