Skip to content

Chris' Laboratory

chrislee.kr – Personal blog as bookshelves

Menu
  • Home
  • Github
  • Contact Me
Menu

Category: Sencha Touch

Sencha Touch – Ajax JSON with multiple roots

Posted on 09/11/201111/09/2016 by Chris Lee

I have JSON result that contains multiple roots. Most example JSONReader source codes are dealing with one root. According to cnelissen from Sencha Forum, using below code will make it working: var store1 = new Ext.data.Store({ url: ‘/path/to/json-data.php’, method: ‘POST’, autoLoad: true, reader: new Ext.data.JsonReader({ root: ‘root1’, fields: [‘field1’, ‘field2’, ‘field3’] }), listeners: { ‘load’:…

Continue reading

Sencha Touch Ext.Router.draw refresh issue

Posted on 09/11/201111/09/2016 by Chris Lee

Sencha Touch 1.1.1 In my ‘route.js’ for Ext.Router.draw, I have custom route “map.connect” like: Ext.Router.draw(function(map) { map.connect(‘s/:specialName’, { controller: ‘Special’, action: ‘index’ }); map.connect(‘:controller/:action’); });   The URL I used is like this “http://localhost/m/#s/am-i-right-3023”, which contains dash(-) in the URL. If I refresh the browser with the URL, application is not reloading the page properly….

Continue reading

Sencha Touch Related Links

Posted on 07/11/201111/11/2011 by Chris Lee

Loading Sencha Touch controllers and views dynamically http://www.onlinesolutionsdevelopment.com/blog/web-development/javascript/loading-sencha-touch-controllers-and-view-files-dynamically/   Dynamic Sencha Touch Forms – Part 1 – Enabling/Disabling Fields based on form selections http://www.swarmonline.com/2011/01/dynamic-sencha-touch-forms-part-1-enablingdisabling-fields-based-on-form-selections/   Mobile Chat with Sencha Touch + node.js + socket.io https://github.com/mrsunshine/Mobile-Chat-with-Sencha-Touch—node.js—socket.io-   One of sample code – worth to refer http://pastebin.com/uF50X67Y     DOWNLOAD:   sencha_sample   Sencha Touch 1.x: Examples and Showcases…

Continue reading

Only show Paging Toolbar when appropriate

Posted on 26/06/201111/09/2016 by Chris Lee

One of Sencha User, Joel, pointed out one of problems in Sencha Touch ListPagingPlugin that display ‘Load more…’ message even if a result gave less rows than paging size. Below code he suggested will fix the problem: Ext.override(Ext.plugins.ListPagingPlugin, { onListUpdate : function() { if (this.list.store && this.list.store.data.length < (this.list.store.currentPage * this.list.store.pageSize)) { if (!this.rendered) {…

Continue reading

Categories

  • Adobe Flex (2)
  • Android (20)
  • Angular (ngx) (3)
  • Arduino (2)
  • Codeigniter (6)
  • CSS (5)
  • Django (2)
  • Docker (5)
  • E-Commerce (6)
  • Finance (2)
  • General Documents (15)
  • Google App Engine (5)
  • Helm (1)
  • iPhone (13)
  • Javascript (13)
  • Kubernetes (2)
  • Linux (13)
  • Magento (8)
  • Marketing (3)
  • MongoDB (4)
  • MS-SQL (1)
  • MySQL (6)
  • Node.js (6)
  • PHP (17)
  • Platforms (1)
  • Raspberry Pi (5)
  • React Native (4)
  • React.js/Next.js (2)
  • Samsung Smart TV (4)
  • Security (17)
  • Sencha Touch (4)
  • Server (31)
  • SVN (7)
  • Terraform (1)
  • Tools (7)
  • Uncategorized (1)
  • VirtualBox (1)
  • Vue.js (1)
  • Web Development (7)
  • WordPress (4)
  • Yii2 (3)

Search

Recent Posts

  • Gitlab Helm upgrade failed to register Gitlab runner 403 Forbidden
  • Run docker-dind and docker in Kubernetes cluster
  • Next.js Tutorial – Setting up your database in your local development environment
  • helm list error stream ID 3; INTERNAL_ERROR
  • Bootstrapping Kubernetes cluster with kubeadm

Recent Comments

  • Vadim on Alpine – Plugin caching_sha2_password could not be loaded
  • Andris on Binance Auto Trading Bot – Buy low/Sell high with stop loss limit/Trade multiple coins
  • Obayed on Binance Auto Trading Bot – Buy low/Sell high with stop loss limit/Trade multiple coins
  • Ari on How to install memcache.so/memcached.so for MAMP Pro (Mac)
  • Mida ali on Binance Auto Trading Bot – Buy low/Sell high with stop loss limit/Trade multiple coins

Tags

1 ajax amazon android android-addpart browser chrislee-kr codeigniter codeigniter-tcpdf com-apple-net-racoon CSS CSS history hack delpaigmail-com entity-addpart-double exception-printing-is-disabled-by-default-for-security-reasons ext-plugins-listpagingplugin ext-plugins-listpagingplugin-example f iphone javascript jquery-defaultchecked jquery-samsung-smart-tv listpagingplugin mac magento-exception-printing-is-disabled-by-default-for-security-reasons magento-sample-data-exception-printing-is-disabled-by-default-for-security-reasons nu-vot null-core-errors-confignotfound-config-mk9engine-ini php samsung-smart-tv-jquery samsung-smart-tv-sdk-ajax samsung-smart-tv-sdk-jquery samsung-tv-sdk samsung-tv-sdk-jquery samsung tv sencha-smart-tv sencha-touch-list-paging smart-tv-jquery sqlite subversion svn tcedook tcpdf-codeigniter uilinebreakmodecharacterwrap-is-deprecated unknown-column-link-area

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2025 Chris' Laboratory | Powered by Minimalist Blog WordPress Theme
 

Loading Comments...