Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-11536 in 4.2.3.
  1. #1
    Sencha User
    Join Date
    Dec 2007
    Location
    Stockholm, Sweden
    Posts
    12
    Vote Rating
    1
    Phantom is on a distinguished road

      0  

    Default [4.2.2] Grid panel's base class 'x-grid' is missing when define a custom cls

    [4.2.2] Grid panel's base class 'x-grid' is missing when define a custom cls


    Ext version tested:
    • Ext 4.2.2.1144

    Browser versions tested against:
    • IE9
    • IE8
    • FF24 (firebug 1.11.4 installed)
    • Chrome 29
    • Opera 12

    Description:
    I have created a class which extends Ext.grid.Panel and which has a custom value for 'cls' property:

    https://fiddle.sencha.com/#fiddle/136

    Code:
    Ext.define('MyApp.DataSearchGrid', {
        extend : 'Ext.grid.Panel',
        alias : 'widget.datasearchgrid',
        cls    : 'x-data-search-grid'
    });
    With ExtJS v4.2.1.883 the outer grids div element looks as following:
    Code:
    <div id="DataSearchGrid-1162" class="x-panel x-fit-item x-panel-default x-grid x-data-search-grid" style="margin: 0px; height: 223px; width: 1068px;">
    ...
    </div>
    While with ExtJS v4.2.2.1144 that div element becomes:
    Code:
    <div id="DataSearchGrid-1162" class="x-panel x-data-search-grid x-fit-item x-panel-default" style="margin: 0px; height: 223px; width: 1068px;">
    ...
    </div>
    i.e. 'x-grid' class is missing.

    The reason for this problem is in class Ext.panel.Table line 394:
    Code:
            me.cls = me.cls || '' + (' ' + me.extraBaseCls);
    which i think should look like
    Code:
            me.cls = (me.cls || '') + (' ' + me.extraBaseCls);
    Last edited by Gary Schlosberg; 21 Oct 2013 at 6:16 AM. Reason: Added test fiddle

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    3,383
    Vote Rating
    62
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi