Hi Mitchell.I Just upgrade my app to 2.1.But horizontal and paging example don't work right.Please take a look at the attached pictureThanks.
Printable View
Hi Mitchell.I Just upgrade my app to 2.1.But horizontal and paging example don't work right.Please take a look at the attached pictureThanks.
Paging fix:
Code:goToPicker : {
left: 0,
top: 0,
cls: Ext.baseCSSPrefix + 'select-overlay',
modal : true,
width : 200,
height : 200,
layout : 'fit',
hideOnMaskTap : true
}
handleGoToButton : function(btn) {
var me = this,
picker = me.getGoToPicker(),
pages = me.getPages(),
i = 1,
data = [],
index,
record,
list = picker.down('list');
var store = list.getStore();
store.removeAll();
for (; i <= pages; i++) {
data.push({ page : i });
}
store.add(data);
index = store.find("page", this.getGrid().getStore().currentPage, null, null, null, true);
record = store.getAt((index == -1) ? 0 : index);
if (!picker.getParent()) {
Ext.Viewport.add(picker);
}
picker.showBy(btn);
list.select(record, null, true);
},
For sencha touch 2.1, I ran into two issues with the touchgridpanel in a card layout. Probably newbie mistakes as I just downloaded it ~ 10 minutes ago - but a heads up for anyone else with these issues:
1) I had to make sure my cls contained 'touchgridpanel' vs just say 'card card4' or it didn't force that class on the outermost div tag (and nothing looked right). I'd think the ux could force that cls onto the resulting html to avoid that...
2) It didn't render any data if I did Ext.create('Ext.ux.touch.grid.List', {..}) vs {xtype: 'touchgridpanel', ...}
Hey - had the same issue by myself.
This is a bug in Sencha Touch 2.1 - until 2.1.1 isn't generally available you can use the fix described under:
http://www.sencha.com/forum/showthre...l=1#post909763
Use the patch of alexfluger as the one of TommyMaintz disabled the header output.
This solution worked for me
hth
it is possible to make editable a grid cell?
here i can see the result, but the code?
http://www.mitchellsimoens.com/Sencha-Projects/demos/
Those are old ST1 projects
doesn't exist in ST2?
Sure the grid does but that link you linked to is for ST1