Search Type: Posts; User: Diego Garcia

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    299
    And are you TOTALLY sure your main container has a child with the given id??
    This does not have to be the reason but I usually use "down" function instead of "child" for this purposes.
  2. Replies
    4
    Views
    299
    I think you need to remove the simple quotes from the first main, the one on the left side, it should be like this:


    refs: {
    main : 'main',
    }
  3. You object has to properties: an array of objects (records) and a "sub-object" (strings). List component is mean to be used with collections of data, I'm not pretty sure how but it seems like the...
  4. It works fine, I've used it on forms and lists, but I think you will need to be more specific on your question.
    Any specific use case??
  5. Good to know, thanks.
  6. This is very weird, and by the way, this makes the show/hide events completely unuseful.
    Does not make any sense to me that "fire the hide event when a component is been shown is the expected...
  7. Edit: I decide to try to keep this conversation here:
    http://www.sencha.com/forum/showthread.php?253730-Are-show-hide-events-buggy-or-what&p=1014892#post1014892
  8. Replies
    10
    Views
    1,759
    Mmm good question, let me scratch some code to see what can I do for you
  9. Thank YOU @riyaad to help keeping the order in the forum :D
  10. Replies
    10
    Views
    1,759
    The Container class does not have a "tap" event either, check this http://docs.sencha.com/touch/2.3.1/#!/api/Ext.Container

    And now that I'm getting a better idea about what you are trying to do, I...
  11. Replies
    10
    Views
    1,759
    I think its because the list itself does not have a "tap" event. I think you need to "listen" the "itemtap" event instead, but that depends on what are you trying to do.
  12. The problem is you are inheriting from "Ext.Base" which does not have the "fireEvent" method. You need to inherit from "Ext.mixin.Observable" which is the "highest" class in the framework hierachy...
  13. The previous post is the right answer.

    Remember mark useful posts as answers in order to help other developers.
  14. If you are already including your store in the application stores (as we talked before) you don't need to create a new one, the Sencha Touch framework already have created a "GeoLocation" store for...
  15. Oh, my mistake. The correct line is:


    Ext.StoreManager.get('your store id here');
  16. Try something like this:



    var store = Ext.StoreManager('GeoLocationStore');
    store.add({ { userlat: -1234, userlong: 4321, address: "addresstwo" } });


    Oh, just for the record. This works...
  17. Replies
    1
    Views
    744
    What's the error??
  18. It seems like this is not working on the new ST 2.3.

    Anybody know something about this??
  19. Replies
    14
    Views
    2,106
    Check this

    http://www.sencha.com/forum/announcement.php?f=90&a=43
  20. Replies
    14
    Views
    2,106
    It's working for me.
  21. I had the same problem and the proposed workaround worked well. Thanks to the people who came out with the fix that fast.

    @JRS remember each SenchaTouch app has its "own copy" of the framework so...
  22. Replies
    8
    Views
    2,229
    We want to see some code! :)
  23. Replies
    7
    Views
    1,427
    Following the same "approach", use the "getAt()" store function directly, without the "data" property:



    var record = store.getAt(0);
  24. Replies
    7
    Views
    1,427
    Try removing the "getModel()" call and use directly the store "setFields()" function:



    Ext.getStore('storeMisurazioniTabella').setFields(componentiArr);
  25. You can use an Ext.Template which let you add code to be executed at "runtime" when rendering items. Something like this:



    Ext.define("MyApp.view.MyList", {
    extend: 'Ext.List',
    xtype:...
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4