-
9 Oct 2012 7:12 AM #1
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
and in 2.1.0Code:<div class="x-container tag-list x-nested-list x-layout-fit-item" id="tagit_list">
...and this is just for the "starting definition of the List ;-)Code:<div class="x-container tag-list x-layout-fit-item x-sized" id="tagit_list">
And i can not find the "itemCls" in the page !!
And for items we have :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 } });
For the first item :
And the others :Code:x-container x-list-item x-stretched x-list-item-first x-list-header-wrap
Has you can see, the "baseCls" nor "itemCls" are never used !Code:x-container x-list-item x-stretched
Last edited by YomeKitsuma; 9 Oct 2012 at 10:49 PM. Reason: angry coder !
-
11 Oct 2012 4:10 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,640
- Vote Rating
- 435
- Answers
- 3106
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
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
-
11 Oct 2012 10:37 PM #3
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 ;-)

-
12 Oct 2012 3:49 PM #4
^ What he said. I'm all over the place trying pin things down.
-
12 Oct 2012 9:24 PM #5
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.


Reply With Quote