Search Type: Posts; User: tonyx

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. I can confirm this bug.
  2. Ext.define('Category', {
    extend: 'Ext.data.Model',
    fields: [
    { name: 'id', type: 'int' },
    { name: 'name', type: 'string' }
    ]
    });


    Ext.define('Product', {
  3. Replies
    3
    Views
    1,053
    I have a simple form. When the app starts up, I load a single record into it. There is a save button on the form that the user can click to save his / her changes. The even handler for clicking the...
  4. So one can easily implement this functionality by simply extending the Ext.app.Controller and override the control method to first see if the selector strings match any defined references? Wow that's...
  5. When binding a model record to a form, can the form's field validation types be automatically configured based on the validations property defined in model class?
  6. It seems redundant that the same component query often have to be typed twice, once while defining the refs in controller, once as argument to the control method. It would be nice if the refs defined...
  7. Replies
    9
    Views
    13,124
    Hm, if that's the case. how do you actually make sure that you are getting the benefit of lazy initialization from xtype then?
  8. You can add the noCache property to your proxy configuration



    proxy: {
    type: 'json',
    noCache: false
    ....
    }
  9. Replies
    9
    Views
    13,124
    Is there any work around to initialize component lazily by their fully qualified class name? Sometimes I find myself adding xtype alias to classes just to be able to lazily initialize them later, and...
  10. Replies
    9
    Views
    13,124
    That is very clear explanation. Got it thank you.
  11. REQUIRED INFORMATION


    Ext version tested:
    Ext 4.0.6

    Browser versions tested against:
    All

    DOCTYPE tested against:
  12. In GridPanels, specifying column header as either 'header' or 'text' seems to achieve exactly the same thing. Are there any differences between them?
  13. Replies
    9
    Views
    13,124
    What is exactly the relationship between these three different concepts? I know that if you alias a class by widget.name you can later use it by specifying xtype: 'name'. The same class can also be...
  14. Replies
    5
    Views
    1,778
    I see. thank you. Also I think xtype is exactly intended for this purpose. Lazy initialization and delayed rendering after stores already become available.
  15. After creating and saving a new model object on the client, a model configured with REST proxy will automatically send HTTP POST request to /model/ url. However, what format must the server's...
  16. In some of the example code provided by Ext, such as

    http://docs.sencha.com/ext-js/4-0/extjs/examples/app/nested-loading/app/view/review/List.js

    Instead of specifying the definition of the...
  17. Replies
    5
    Views
    1,778
    After much debugging, I verified that it is indeed a timing issue. It turns out that by specifying store in the view file itself, it is looked up before the store is registered with the store...
  18. bump! I am wondering about the same thing myself.
  19. Replies
    5
    Views
    1,778
    Hm. even if I were to have
    requires: { "Books.store.Books" } in the Sidebar.js file and Viewport.js, the problem still persist for some reason and would not show the items. Any ideas?
  20. Replies
    5
    Views
    1,778
    I'm a bit new to Ext Js 4 and trying to find my way around by re-creating the nested loading example application from scratch provided by Ext. Here is my viewport file and book SideBar file
    ...
  21. Recently I was trying to put breakpoints on some of ext js scripts. But after every single file refresh, for some reason the breakpoints were gone and not persisted. Initially I thought this was...
  22. The problem is that even if I do it by hand and get it into perfect alignment, whenever I use the JavaScript formatting feature in Webstorm / Eclipse / Textmate, those alignment gets removed and I...
  23. One of the things I realized as I read the Ext documentation is how long and complex json objects can be made really readable by aligning field literals. For example, in the array grid example, a...
  24. Any status update on the book?
  25. Works perfect. Thank you!
Results 1 to 25 of 32
Page 1 of 2 1 2