-
8 Jan 2012 7:50 PM #1
if pin header of the grouped list view works on ST 2.0?
if pin header of the grouped list view works on ST 2.0?
Hi guys,
The grouped list view's pin header feel confused.
bug.jpgfine.jpg
https://github.com/nelstrom/Sencha-Touch-list-view-demo works fine.please see the screenshot above.
Code:Ext.define('Contact', { extend: 'Ext.data.Model', fields: ['firstName', 'lastName'] }); Ext.application({ name: "ListDemo", launch: function(){ var store = Ext.create('Ext.data.JsonStore', { model: 'Contact', sorters: 'lastName', getGroupString: function(record) { return record.get('lastName')[0]; }, data: [ {firstName: 'Tommy', lastName: 'Maintz'}, {firstName: 'Rob', lastName: 'Dougan'}, {firstName: 'Ed', lastName: 'Spencer'}, {firstName: 'Jamie', lastName: 'Avins'}, {firstName: 'Aaron', lastName: 'Conran'}, {firstName: 'Dave', lastName: 'Kaneda'}, {firstName: 'Jacky', lastName: 'Nguyen'}, {firstName: 'Abraham', lastName: 'Elias'}, {firstName: 'Jay', lastName: 'Robinson'}, {firstName: 'Nigel', lastName: 'White'}, {firstName: 'Don', lastName: 'Griffin'}, {firstName: 'Nico', lastName: 'Ferrero'}, {firstName: 'Nicolas', lastName: 'Belmonte'}, {firstName: 'Jay', lastName: 'Robinson'}, {firstName: 'Nigel', lastName: 'White'}, {firstName: 'Don', lastName: 'Griffin'}, {firstName: 'Nico', lastName: 'Ferrero'}, {firstName: 'Nicolas', lastName: 'Belmonte'}, {firstName: 'Jason', lastName: 'Johnston'} ] }); var listPanel = Ext.create('Ext.List', { store: store, allowDeselect: false, itemTpl: '<div class="contact">{firstName} {lastName}</div>', onItemDisclosure: function(record, btn, index) { console.log('in'); }, grouped: true //indexBar: true }); Ext.Viewport.add(listPanel); } });
-
9 Jan 2012 12:16 AM #2
oh,The problem is caused by using the resources/css-debug/sencha-touch.css instead of the resources/css/sencha-touch.css.
Not a bug.
-
9 Jan 2012 9:22 AM #3Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
We have an open issue on the css-debug version not being updated in the release. Sorry for the confusion.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote