EasyUI Forum
May 03, 2024, 10:19:40 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: combgrid's panel first time has horizontal scroll bar  (Read 4020 times)
James
Jr. Member
**
Posts: 52


View Profile Email
« on: September 13, 2018, 01:52:49 AM »

http://jsfiddle.net/wtvnb3gj/5/

fist time show it's panel, it has horizontal scroll bar, and vertical scroll bar is not display as it should be.
do not choice any item, and close the panel , then open it again, it dispaly right, how to make it dispaly ok at the first time?
Logged
James
Jr. Member
**
Posts: 52


View Profile Email
« Reply #1 on: September 13, 2018, 02:00:12 AM »

I want to upload an gif(35KB) but server says:The upload folder is full. Please try a smaller file and/or contact an administrator.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #2 on: September 13, 2018, 07:47:38 AM »

After create the combogrid, please set the drop down panel with ‘overflow:hidden’ style.
Code:
        $('#groupicon').combogrid({
            required: true,
            editable: false,
            fitColumns: true,
            idField: 'iconname',
            textField: 'iconname',
            data: data,
            pagination: true,
            toolbar: '#toolbar',
            columns: [[
                    {field: 'id', hidden: true},
                    {field: 'iconname', title: 'ICON', width: 100, align: 'center'}
                ]]
        });
        $('#groupicon').combogrid('panel').css('overflow','hidden')
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!