Threaded View

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    131
    Answers
    1
    Vote Rating
    -2
    YomeKitsuma has a little shameless behaviour in the past

      0  

    Default Unanswered: List CSS Changed :: 2.0.1 -> 2.1.0

    Unanswered: List CSS Changed :: 2.0.1 -> 2.1.0


    All my custom CSSfor my lists which worked in the 2.0.1 DO NOT WORK any more in the new version 2.1.0 !!!

    All the structure of List has been changed deeply !


    In the 2.0.1 for a NestedList

    Code:
    <div class="x-container tag-list x-nested-list x-layout-fit-item" id="tagit_list">
    and in 2.1.0

    Code:
    <div class="x-container tag-list x-layout-fit-item x-sized" id="tagit_list">
    ...and this is just for the "starting definition of the List ;-)


    And i can not find the "itemCls" in the page !!
    Code:
    list = Ext.create('Ext.dataview.NestedList', {
                    id : 'tagit_list',
                    title : 'Tag-it!',
                    baseCls : 'tag-list', // NEVER USED !!!!
                    itemCls : 'tag-list-item'// CAN NOT FIND IT IN MY HTML CODE (using chrome console)
                    displayField : 'name',
                    getItemTextTpl : TagItemTemplate.getTemplate,            
                    masked : false,            
                    toolbar : {
                        docked : 'top',
                        xtype : 'titlebar',
                        ui : 'black',
                        inline : true
                    }
                });
    And for items we have :

    For the first item :
    Code:
    x-container x-list-item x-stretched x-list-item-first x-list-header-wrap
    And the others :
    Code:
    x-container x-list-item x-stretched
    Has you can see, the "baseCls" nor "itemCls" are never used !
    Last edited by YomeKitsuma; 9 Oct 2012 at 10:49 PM. Reason: angry coder !