Questions tagged [sencha-touch]

Sencha Touch revolutionizes the mobile experience with its state-of-the-art JavaScript framework and HTML5 foundation, seamlessly integrating the Model, View, Controller pattern. Developed by the brilliant minds at Sencha Inc., it stands proudly as an industry-leading innovation in the world of multi-device web development.

The disappearing act of the Show/Hide Button in Sencha Touch 2.3.1: what's the

I'm running into an issue with my sencha touch app. Here is the container I have defined: { xtype: 'container', text: 'SOMETHING', height: '15%', width: '15%', itemId: 'optionsMenu', ...

Updating Sencha list itemTpl on the fly

Is there a way to dynamically change the itemTpl in a Sencha list to adjust the visibility of a column based on certain conditions? Your assistance would be greatly appreciated. ...

Unexpected JavaScript behavior triggers Safari's crash on iOS platforms

In my Sencha Touch application, I am implementing a feature where users can download 5000 records in JSON format and display them in an Ext.List control. The downloading of records works smoothly using JSON.parse() and storing the data locally. However, u ...

Tips for decoding and processing multiple JSON objects returned from an AJAX call within the initComponent method of a Sencha Touch panel

Looking for a more efficient way to read multiple JSON objects from an AJAX request. The current code provided below is taking too long, causing other codes to execute before this one. var allVisitStore = new Ext.data.Store({ model: 'allVisit', autoLoa ...

Exploring Sencha Touch's capabilities with Nested JSON and Associations

Today, I have a technical dilemma that requires some expertise in how Sencha handles JSON parsing and store reading. Let's talk about two models: Order and User: Ext.regModel('Order', { fields: [ {name: 'id', type: 'int'}, {name: 'user_id', typ ...

Touch Sencha - Continuous Loading in DataView

Hi there! I'm a beginner in sencha touch and currently trying to wrap my head around it. I want to create a simple app that loads a JSON string from a file. Oddly enough, when I test the app on localhost, the dataview shows up perfectly fine. However, ...

Top way to include an HTML and javascript file in an Ext.Panel within Sencha Touch

My main goal is to efficiently include external HTML files and display them on an Ext.Panel in Sencha touch 2.3 by creating a wrapper module for the HTML file that can be instantiated using xtype, with an external Javascript file for event handling. Updat ...

Converting Sencha Touch XML response to JSON format

Embarking on a Sencha Touch project utilizing existing Web services has presented me with some challenges, as I am still new to this technology. Problem: My current challenge involves calling a login service with the following request: http://domain.sub. ...

What is the best way to modify the Xtype attribute based on whether the device is running on Android or iOS

I am currently working on a project using Extjs6.0.2, but I have encountered an issue with creating the xtype: 'namefield'. It seems that this type of xtype is supported on Android devices but not on iOS devices. Despite this challenge, I am dete ...

Troubleshooting: Sencha Touch mobile web app encountering Ajax issues on Android browser

My Sencha Touch 2.1 web app is running smoothly on iOS browser, Google Chrome, and desktop browsers. However, I'm facing an issue with making Ajax calls on the native Android browser. The error message 'Uncaught TypeError: Cannot read property 'connection' ...