store

ExtJS4 gridPanel data not showing

有些话、适合烂在心里 提交于 2019-12-11 20:14:05
问题 I've made this very simple jsfiddle to show you this abnormal behaviour http://jsfiddle.net/mrgamer/GgUkE/2/ In my application i'm using the same methods i've written here, .loadRawData() on the store, cause .loadData() doesn't fire the 'load' event. I'm filling the store manually cause i've to filter some JSON data, compile it, and then insert to this store. Anyway the problem doesn't seem to be in the store, since the Grid gets populated, you can click on 2 rows, but the data isn't

Sencha Touch limit number of items in list

孤者浪人 提交于 2019-12-11 19:34:16
问题 I'm building an app that should run on mobile/tablet/pc. And the main feature contains an enormous list of items that I'm getting from json file hosted on another server. Currently I'm working on a PC and the list takes about a minute to populate (over 800 objects, the number grows everyday), I'm guessing that's because it takes time to generate the markup for 800 divs... Note: I'm working locally, when this is online it would be a nightmare, overkill.. My thoughts were to get all the data

Load date from store to combobox

£可爱£侵袭症+ 提交于 2019-12-11 15:04:25
问题 Hello i am get from server date to store with "url: /book/price" . And this response comes from the server { status: "SUCCESS", msg: "операция завершена успешно", data: [ "500", "600" ] } This information from "data" I want to insert in combobox. I am create store, but don't know what write there: this store: Ext.define('TPL.store.price.Book', { extend: 'Ext.data.BaseStore', autoLoad: true, proxy: { type: 'ajax', url: '/book/price', reader: { type: 'json', root: 'data', successProperty:

ExtJS - Remote filtering causes problems

本秂侑毒 提交于 2019-12-11 14:43:46
问题 a) Here's a JS fiddle to help show what's happening: http://jsfiddle.net/CKpPW/ b) To replicate the issue, select the first drop down and notice how the full name appears. Then expand the second drop down and notice how the display of the first drop down goes away. My assumption is that this happens because both comboboxes use the same store so when a filter is applied to the store it applies to everything, and thus when that record no longer exists it defaults back to whatever the value is.

ExtJS 4 problems with form updating a new created record in a store - loadRecord updateRecord

蓝咒 提交于 2019-12-11 14:14:27
问题 I have problems with a form saving to a store. The form loads a record for editing a existing record, or is blank for a new record. Editing a existing record works fine. Creating a new one works fine as well. I get problems if I want to edit & update a newly created record without closing and re-opening the form. I guess the problem is that the id of the record inside the store is assigned through the remote server. The form is holding a copy of the model and is not taking any notice of the

ExtJS - Grid panel not loaded with nested JSON

我们两清 提交于 2019-12-11 14:08:56
问题 Hello my JSON is: (formatted for better reading) {"status":{"status":0,"msg":"Ok","protocolversion":"extjs.json"}, "list":[{"getLogfiles":[ {"key":"0","value":"...lugin\/monitor\/files\/x_worker_error.log"}, {"key":"1","value":"...les\/x-worker01-progress.log.1331769600"}, {"key":"2","value":"...\/application\/x\/plugin\/monitor\/files\/Test.log"}, {"key":"3","value":"...ind\/plugin\/monitor\/files\/logfile_for_navi_test.log"}, {"key":"4","value":"...lugin\/monitor\/files\/logfilefilter

Some generic and working Xcode project settings which lead to successful Mac App store submission?

帅比萌擦擦* 提交于 2019-12-11 13:44:39
问题 I built a simple app that I'd like to submit to the Apple store, but I am not sure whether my project Release settings are set correctly. I adjust a few things, based on what I could find online, but I might've created more problems than I solved. I would very much appreciate if somebody could provide a copy of working Release settings which would sure work for my project. I don't store/read any files, the application just runs a few commands. Basically, I just need it to run and install in

How can I create a iphone View like App Store's product introducion View?

放肆的年华 提交于 2019-12-11 12:53:21
问题 I want to create a view like the style of app introduction in app store. some text and pic at the top,when i browse down, and some pictures can be moved horizonal, and at the bottom, some other description text. thanks. 回答1: The Appstore app has one vertical UIScrollView and another horizontal UIScrollView inside that for images. 回答2: UIScrollView is used for displaying images horizontally, not sure about the rest. 来源: https://stackoverflow.com/questions/2506008/how-can-i-create-a-iphone-view

EXTjs: how to read rss feed from ashx page to a store ?

我只是一个虾纸丫 提交于 2019-12-11 12:40:21
问题 I want to get the rss feed of an ashx page to an EXTjs store. It works perfectly with a xml page. but when I test it on an ashx page it doesn't !!! link: http://met.guc.edu.eg/Feeds/Course.ashx?c=240 var store = Ext.create('Ext.data.Store', { autoLoad: true, proxy: { type: 'ajax', url: 'http://met.guc.edu.eg/Feeds/Course.ashx?c=240', reader: { type: 'xml', record: 'item', } }, fields: ['title','category','pubDateParsed'], groupField: 'category', sorters: [{property: 'pubDateParsed', direction