extjs

Remote Filtering with ListFilter in ExtJS Grid Column Header

て烟熏妆下的殇ゞ 提交于 2020-01-01 04:26:27
问题 I am using ListFilter plugin to filter results on a Grid panel. The column definition is. { header: 'Provider', filter: { type: 'list', store: Ext.getStore('MyApp.store.Provider'), dataIndex: 'provider_id', labelField: 'name' } } MyApp.store.Provider is created as Ext.create('Ext.data.Store', { storeId: 'MyApp.store.Provider', autoDestroy: true, autoLoad: {start: 0, limit: 50}, autoSync: true, model: 'MyApp.model.Provider', pageSize: 50, proxy: { type: 'ajax', api: { create: 'proxy/provider

ExtJS: add button to htmleditor

匆匆过客 提交于 2019-12-31 22:27:20
问题 I am using ExtJS and I have a htmleditor in my form. I would like to add a custom button to that element (for example after all other buttons like alignments, font weights, ...). This button should basically insert a standard template in the htmlfield. Being this template html, the behaviour of the button should be like this Switch to HTML mode (like when pressing Source button) Insert something Switch back to WYSIWYG mode (like when pressing the Source button again) Thanks for your attention

How to make a signed APK in Sencha Touch 2

隐身守侯 提交于 2019-12-31 10:52:39
问题 Dear All, I have successfully made an application using Sencha touch 2 it's working fine in my Android device, also on Tablet and emulator. But the problem is that the apk file could not be uploaded on Android Market it shows me a error: .apk is not signed also validity year 50 Error in Google market -: Google Play does not accept apks signed with the debug certificate. Create a new certificate that is valid for at least 50 years. I have changed my certificate also "configuration":"Release"

How to make a signed APK in Sencha Touch 2

若如初见. 提交于 2019-12-31 10:52:13
问题 Dear All, I have successfully made an application using Sencha touch 2 it's working fine in my Android device, also on Tablet and emulator. But the problem is that the apk file could not be uploaded on Android Market it shows me a error: .apk is not signed also validity year 50 Error in Google market -: Google Play does not accept apks signed with the debug certificate. Create a new certificate that is valid for at least 50 years. I have changed my certificate also "configuration":"Release"

How to read nested JSON structure with a Sencha Touch Data Model?

孤人 提交于 2019-12-31 10:47:23
问题 I've been trying to figure this out all evening but to no avail. I have a JSON structure as follows (coming from another system so I can't change its structure): { "parents":{ "parent":[ { "parentId":1, "children":{ "child":[ { "childId":1, }, { "childId":2, } ] } }, { "parentId":2, "children":{ "child":[ { "childId":1, }, { "childId":2, } ] } } ], "pageNum":1, "pageSize":2 } } However, I can't figure out what the correct structure for the data models should be. I've tried the following but

How to read nested JSON structure with a Sencha Touch Data Model?

戏子无情 提交于 2019-12-31 10:47:11
问题 I've been trying to figure this out all evening but to no avail. I have a JSON structure as follows (coming from another system so I can't change its structure): { "parents":{ "parent":[ { "parentId":1, "children":{ "child":[ { "childId":1, }, { "childId":2, } ] } }, { "parentId":2, "children":{ "child":[ { "childId":1, }, { "childId":2, } ] } } ], "pageNum":1, "pageSize":2 } } However, I can't figure out what the correct structure for the data models should be. I've tried the following but

Sencha Touch 2 android performance

江枫思渺然 提交于 2019-12-31 08:38:44
问题 I am hearing that sencha in general, by the mere fact of using javascript, has performance issues on android devices. I am familiar with limitations of the android webview object, but I was wondering if these performance claims have any merit, especially with Sencha Touch 2 being out Although I don't have a lower end android device, I was looking through the Sencha Touch 2 gallery and could not find free android apps very easily, so perhaps you can explain your experience with Sencha Touch 2

Why doesn't javascript execute in .php file loaded with Ext.Ajax.Request?

China☆狼群 提交于 2019-12-31 06:07:37
问题 I want to load .php files via ajax which execute ExtJS script as they load, which in turn modifies the existing ExtJS objects already present in the DOM. However, I can't even get Javascript to execute from a page that is being loaded via Ext.Ajax.request . And no errors are showing up in the Firebug Net panel. The PHP code gets executed, but not the Javascript. When I call the page being loaded by itself in the browser, it executes the Javascript fine. How can I get Javascript to execute in

ExtJS combobox filter

蓝咒 提交于 2019-12-31 05:58:41
问题 I have two comboboxes. The first one is for selecting a region , and the second one is for selecting a province . The values that should appear in the province combobox will be based on the value selected in the region combobox. Region combobox code: xtype: 'combobox', label: 'Region ID', margin: '10 20', flex: 1, valueField: 'regionid', displayField: 'regionname', store: 'RegionStore', minLength: 1, id: 'region_id', reference: 'region_id', name: 'region_id', listeners: { select: function

ExtJS combobox filter

依然范特西╮ 提交于 2019-12-31 05:58:37
问题 I have two comboboxes. The first one is for selecting a region , and the second one is for selecting a province . The values that should appear in the province combobox will be based on the value selected in the region combobox. Region combobox code: xtype: 'combobox', label: 'Region ID', margin: '10 20', flex: 1, valueField: 'regionid', displayField: 'regionname', store: 'RegionStore', minLength: 1, id: 'region_id', reference: 'region_id', name: 'region_id', listeners: { select: function