1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    1
    Vote Rating
    0
    anjingbabi is on a distinguished road

      0  

    Default GXT Grid Header Height Always Increase

    Hi, sorry if this is off topic or someone has asked this before,
    below is my code on gxt grid
    Code:
            List<ColumnConfig> configs = new ArrayList<ColumnConfig>();
    
            ColumnConfig column = new ColumnConfig();
    
            RowNumberer r = new RowNumberer();
            configs.add(r);
    
            column = new ColumnConfig();
            column.setId("kodebarang");
            column.setHeaderText("Kode Barang");
            column.setWidth(160);
            configs.add(column);
    
            final ColumnModel cm = new ColumnModel(configs);
    
            EditorGrid editorGrid = new EditorGrid(rightStore, cm);
            editorGrid.setHeight("20px");
                    
            grid.getView().setEmptyText("Data Empty");
            grid.setBorders(true);
            grid.setLoadMask(true);
            grid.mask("load Data ...", "x-mask-loading");        
            grid.getView().setForceFit(true);
    somehow, on several grid, the height of the grid's header is keep increasing everytime i open it (as you can see in the image attached)
    im using Chrome 26.0.1410.64 m and gwt-2.5.0 + gxt-2.3.0

    and this is what i see when using chrome developer's tool
    Code:
    <td class="x-grid3-header x-grid3-hd x-grid3-cell x-grid3-td-merk " role="presentation" align="left" style="width: 108px;"><div role="columnheader" aria-haspopup="true" id="x-auto-183" aria-owns="x-auto-183-menu" class=" x-grid3-hd-inner x-grid3-hd-merk x-component" style="width: 98px; height: 149px;"><a href="#" class="x-grid3-hd-btn" style="height: 157px;"></a><span id="x-auto-182" class=" x-component">Merk</span><img src="http://127.0.0.1:8888/main/clear.gif" class="x-grid3-sort-icon"></div></td>
    grid 2.PNG


    the regular grid supposed to be like this
    grid normal.PNG


    something i missed perhaps?
    Thank you in advance.
    Attached Images

  2. #2
    Sencha User
    Join Date
    Feb 2012
    Posts
    2
    Vote Rating
    0
    eliranmal is on a distinguished road

      0  

    Default

    this affects me as well, would love to hear if you solved this

  3. #3
    Sencha User
    Join Date
    Aug 2014
    Posts
    1
    Vote Rating
    0
    Xcite2014 is on a distinguished road

      0  

    Default Hi

    Hi everyone, visit my website http://www.elpartido.net

Thread Participants: 2