31 Jan 2011 1:14 AM #1
get the device screen width and heigth?
Hi. I need to know the size of the screen because I'm using a popup panel and I want its width to be the 90% of total width.
I've been looking for something on the touch API and i've tried with some "Ext.Element" methods like: Ext.Element.getOuterWidth()*0.9, Ext.Element.getViewportWidth()*0.9 , Ext.Element.getWidth()*0.9
I think I'm not looking in the right place.
Can anyone help? Thanks.
31 Jan 2011 1:18 AM #2
31 Jan 2011 1:23 AM #3
getViewportWidth()*0.9 worked. The problem was a missing '}'. Can anyone delete this thread? Thanks!
1 Jun 2011 2:15 AM #4
How cani get the records from data store?
I created the below datastore
I want to get the individual records from this datastore. I don't want to show in listview or other component. Please help me. I am very new to sencha touch.
By Peter.Chen in forum Sencha Touch 1.x: DiscussionReplies: 1Last Post: 14 Jan 2011, 1:46 PM
By alok000707 in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 26 Nov 2010, 4:22 AM
By nosarious in forum Sencha Touch 1.x: BugsReplies: 4Last Post: 9 Sep 2010, 7:15 AM
By dynobhooms in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 2 Nov 2009, 10:26 PM
By leezhou in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 29 Dec 2008, 9:50 AM