Questions tagged [sencha-touch-2.3]

Sencha Touch, a high-performance HTML5 mobile application framework, is the cornerstone of the Sencha HTML5 platform.

Sencha Touch, a high-performance HTML5 mobile application framework, is the cornerstone of the Sencha HTML5 platform. Built for enabling world-class user experiences, Sencha Touch is the only framework that enables developers to build powerful apps that work on iOS, Android, BlackBerry, Windows Phone, and more.

More and more companies are investing in their future by developing with HTML5.

Home: http://www.sencha.com/products/touch/

76 questions
0
votes
1 answer

How to set data to List in Sencha Touch from the JSON Object

I want to set Data to a Dataview.list in a controller from a JSON Object. Here is the json object Object {1: "Mercedes", 2: "Aston Martin", 3: "Ferrari", 4: "Lamborgini"} Now this is what I found in the docs: Ext.create('Ext.List', { …
Nick Div
  • 5,338
  • 12
  • 65
  • 127
0
votes
1 answer

When to prefer Phonegap/Cordova API over Sencha Touch?

I've read a lot about Sencha/Phonegap combination, but I still don't understand why would someone use Phonegap API call and not Sencha's, in which cases and what are the best practices?
user2867106
  • 1,139
  • 1
  • 13
  • 31
0
votes
2 answers

Changing height of list item in Sencha Touch 2.3

I am trying to make the minimum height of list items in a list equal to 100 px to allow for more space for 2 lines .x-list .x-list-item { min-height: 500px; /*exaggeration just to see if it works background-color: red; } The background red…
dowjones123
  • 3,695
  • 5
  • 40
  • 83
0
votes
1 answer

How do I use the Ux.locale.Manager to populate text on my page dynamically

I am using sencha touch 2.3 and I am using the plug-in locale to change my page's language. Whatever is included in the view of the page gets changed using the locale plug-in but lets say I want to alert some text depending on the language then how…
Nick Div
  • 5,338
  • 12
  • 65
  • 127
0
votes
1 answer

Code completion - Sencha + Aptana Studio 3

I am working on Aptana Studio 3 and have downloaded Sencha as below link would advice: http://docs.sencha.com/touch/2.3.1/#!/guide/first_app I.e. downloaded Sencha (and XAMPP, installed the unzipped sencha files into a folder called touch inside…
dowjones123
  • 3,695
  • 5
  • 40
  • 83
0
votes
1 answer

Sencha Touch - another view not showing on the tab panel

I have an issue with showing a settings view on the main view when clicking a proper tab. Here is the code for the main view: Ext.define('App.view.Main', { extend:'Ext.tab.Panel', requires: [ 'App.view.SettingsView' ], config: { fullscreen:…
terreb
  • 1,417
  • 2
  • 23
  • 40
0
votes
0 answers

How to disable scrolling of a page when mouse is clicked using javascript

I have a component that is draggable on the page but I dont want the component to be dragged out of the current visible of the web-page, as we all know that when we click a component and hold the click and then drag it to the end or top of page…
Nick Div
  • 5,338
  • 12
  • 65
  • 127
0
votes
1 answer

Store cannot read XML from external source but can do it when reading from local source

I need to read content from a data source which is located on a remote server (I do not have access to modify anything). I have tried to get the content, but it doesn't work. What then I did was I downloaded this data source which is a XML file and…
Franva
  • 6,565
  • 23
  • 79
  • 144
0
votes
1 answer

How to enable scrollbar for this following overlay

el.overlay = Ext.create('Ext.Panel', { itemId:'widgetInfoPanel', html: htmlText, height: 200, width:…
Nick Div
  • 5,338
  • 12
  • 65
  • 127
0
votes
1 answer

Sencha Touch 2 Controller init/launch doesn't fire

The code is below. All I am trying to do is to load Login view from my Login controller. However, I found that the Login controller is not loaded properly. Neither launch() nor init() is called. Can any one kindly help me out? Thanks in…
user2375809
  • 409
  • 1
  • 6
  • 12
0
votes
1 answer

When I include the html in config it does not work

I am bit confused here, look at the code below: var arrReqTplTest=["........................."]; var finalStudent=[]; finalStudent.push({ title: “Student Table”, collapsed: true, layout: 'fit', items:…
Nick Div
  • 5,338
  • 12
  • 65
  • 127
0
votes
2 answers

Pick event not triggered for select field picker,while importing sencha-touch/base scss

I am having one select field and want to handle select field picker events manually. Following code for selectfield : { xtype: 'selectfield', label: 'Choose one', name:'abcd', usePicker:true, …
Amar1989
  • 502
  • 1
  • 3
  • 17
0
votes
2 answers

Switch between Carousel and Container

I am creating a view which should work both ways: depending on which button on the toolbar you click, you either get the two lists in a carousel, or in a hbox container (each list taking 50% of the width). How can I switch my view between Container…
Alexander
  • 19,906
  • 19
  • 75
  • 162
0
votes
2 answers

Sencha touch get data from json

Recently I try to get data from json file with using sencha touch but its showing 0 result, Please refer below coding and tell me about my mistake, Thanks, app.js Ext.application({ name: 'TP', views: [ 'Main' ], models: [ …
iswan
  • 92
  • 1
  • 3
  • 14
0
votes
2 answers

Sencha Touch production builds breaks Ext.Map functionality

I am having problems with ST2.3. I've upgraded from 2.1 and I've had several regressions which are now working ok. However one problem that definitely seems to be broken is the Map wrapper around the google api. My app works fine in Testing and…
jaffa
  • 26,770
  • 50
  • 178
  • 289