extjs

How to disable a particular data in the combo-box in ExtJS 4.2.1

。_饼干妹妹 提交于 2019-12-23 05:06:23
问题 How do I disable a particular data item in a combo-box in ExtJS 4.2.1? The combo-box values are data and value pairs: orderTypes = [ ['Local', 'Local'], ['Device', 'Device'], ['None', 'None'] ]; I want to disable the value 'Device' in the combo-box. So I used tried the code below, where orderComboTwo is my comboxbox. However it is not disabling the data listed in the combo-box. orderComboTwo.getStore().data.items[1].data.disabled = true; 回答1: A ComboBox does not have the possibility to

Sencha Touch - menu and edge swipes errors

我是研究僧i 提交于 2019-12-23 04:55:14
问题 I'm wondering if anyone has found a fix for the issue, when the menu is initialized but has not been shown yet and the user makes edge swipes what leads to ST throwing errors: Uncaught TypeError: Cannot read property 'on' of undefined. Please see here what I mean (open console and make edge swipes): https://fiddle.sencha.com/#fiddle/3vq More about that: http://www.sencha.com/forum/showthread.php?281225 回答1: Hot fix for Sencha Touch 2.4.1 side menu slide issue TOUCH-5328: replace in touch\src

How to use WebSql database with sencha touch Application

大憨熊 提交于 2019-12-23 04:48:09
问题 I am working with sencha touch application to handle small database I have used local storage. But, now I want to handle larger amount of database with SQL queries. Can anyone suggest how to use a database system like Websql or any other database system with sencha touch? Any help will be appreciated. 回答1: Try using Ext.data.proxy.Sql Refer these links http://docs.sencha.com/touch/2.1.1/#!/api/Ext.data.proxy.Sql http://senchatouchdev.com/wordpress/2013/04/19/sencha-touch-clarifying-websql

How to use WebSql database with sencha touch Application

安稳与你 提交于 2019-12-23 04:48:00
问题 I am working with sencha touch application to handle small database I have used local storage. But, now I want to handle larger amount of database with SQL queries. Can anyone suggest how to use a database system like Websql or any other database system with sencha touch? Any help will be appreciated. 回答1: Try using Ext.data.proxy.Sql Refer these links http://docs.sencha.com/touch/2.1.1/#!/api/Ext.data.proxy.Sql http://senchatouchdev.com/wordpress/2013/04/19/sencha-touch-clarifying-websql

secha touch calendar swarmonline mvc bug

人走茶凉 提交于 2019-12-23 04:35:19
问题 I'm trying to work with a Sencha Touch calendar extension (http://www.sencha.com/forum/showthread.php?156351-Ext.ux.TouchCalendar) Here is an example of what im using: http://www.swarmonline.com/Ext.ux.TouchCalendar/examples/simple-events-list.html Am using the mvc folder in the app.. there is bug in period change event please follow these steps load mvc app click event list 3 click any date that have event 4 Then click period change 5 Rest of the events are gone from the calendar Am trying

secha touch calendar swarmonline mvc bug

若如初见. 提交于 2019-12-23 04:35:17
问题 I'm trying to work with a Sencha Touch calendar extension (http://www.sencha.com/forum/showthread.php?156351-Ext.ux.TouchCalendar) Here is an example of what im using: http://www.swarmonline.com/Ext.ux.TouchCalendar/examples/simple-events-list.html Am using the mvc folder in the app.. there is bug in period change event please follow these steps load mvc app click event list 3 click any date that have event 4 Then click period change 5 Rest of the events are gone from the calendar Am trying

Extjs 4.2.2 Create Dynamic Unordered List containing Ext Components

谁说我不能喝 提交于 2019-12-23 03:46:15
问题 I am attempting to create basic ul in Ext 4.2.2 by defining a class extended from Ext.container.Container . Ideally I would like my rendered markup to be something along the lines of: <ul> <li> {any Ext component here} </li> ... </ul> I know I'm missing something in my current implementation that I have based off of Alex Tokarev's answer to: extjs 4 how to wrap children components of container in custom html? Ext.define('MyUnorderedList', { extend: 'Ext.container.Container', requires: [

How to link buttons in toolbar in Sencha touch?

不羁岁月 提交于 2019-12-23 03:40:14
问题 I have multiple buttons loading up in the button toolbar I need those buttons to go to different links. However, I have not been able to figure it out. Below is what I tried to do but it does not work. //Below are three buttons that need to go to three different links var buttonsGroup1 = new Ext.Button({ text: 'MESSAGES', handler: tapHandler }); var buttonsGroup2 = new Ext.Button({ text: 'HOLDS', handler: tap2Handler }); var buttonsGroup3 = new Ext.Button({ text: 'FINANCIALS', handler:

ExtJS application not looking in the correct app folder

让人想犯罪 __ 提交于 2019-12-23 03:27:06
问题 In this tutorial, there is code that reads: Ext.require('Ext.app.Application'); var Application = null; Ext.onReady(function() { Application = Ext.create('Ext.app.Application', { name: 'AM', controllers: [ 'Users' ], launch: function() { //include the tests in the test.html head jasmine.getEnv().addReporter(new jasmine.TrivialReporter()); jasmine.getEnv().execute(); } }); }); For me, this leads to a 404 when the application is looking for the application code. GET http://localhost:8000/AM

How could we set globally in Sencha ExtJS version 6.0.2 the timezone that we want to use?

醉酒当歌 提交于 2019-12-23 03:25:07
问题 Our goal is to set the timezone on the frontend part to display the dates/times on the timezone that we desire and also get the dates generated from datefields, timefields etc. to be on the same timezone but at the end send the correct timestamp to the server. Setting the timezone globally to a javascript application is not a trivial task according to this: How to initialize javascript date to a particular timezone The solutions recommend libraries like momentjs, and please correct me if I am