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 !

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,206
    Answers
    3517
    Vote Rating
    856
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I cannot see any itemCls config for the NestedList in 2.0.1, if you want to configure the child lists, use the listConfig config on the NestedList.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    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


    Hi mitchellsimoens,

    Finaly i've resolved (spend 1day and half) to display my List (Nested and Normal) like they were (a little bit differently).

    Even if there is no "itemCls" in NestedList, the DOM of the Lists have deeply changed !
    (you used to "noyer le poisson"... lol)

    Please, consider adding some samples with personnal customization of "list" and so in your samples ;-)


  4. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    10
    Vote Rating
    0
    RomeyRome is on a distinguished road

      0  

    Default


    ^ What he said. I'm all over the place trying pin things down.

  5. #5
    Touch Premium Member suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    447
    Answers
    21
    Vote Rating
    62
    suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough

      0  

    Default


    Yes - version upgrades can be a pain - however you get the new infinite list feature out of it and much better performance as a result.