Search Type: Posts; User: MrNickBarker

Search: Search took 0.01 seconds.

  1. This is still a problem in ST 2.2.1. ampros solution works. Just require the override somewhere for ex. app.js


    Ext.require('AppName.override.OverrideSegmentedButton');
  2. We needed to tap nested list items programmatically for testing purposes, so I came up with this little function:


    var selectNesetedListIndex = function (nestedList, index)
    { ...
  3. But then why does it work in browsers and not in a native app?

    I've tested it on the same device and:

    Safari - Works
    Chrome - Works
    Native (Web View) - Fails
  4. The sam thing happens with 'Ext.create' on the same device (iPad 2 iOS 5.1.1).


    ...
    handler:function () {
    var obj = Ext.create('Ext.Panel', {
    title:'Panel Title'
    ...
  5. Ext version tested:

    Sencha Touch 2.2.1
    Browser versions tested against:

    Safari (Mac)
    Chrome (Mac)
    Safari (iOS)
    Chrome (iOS)
    Description:
  6. Ext version tested:


    Sencha Touch 2.2.1
    Browser versions tested against:

    Chrome (Mac)
    Description:

    Flip animation 'right' direction is same as 'left'.
  7. It looks like it's the same for line 25 of device/orientation/Sencha.js. Until I changed it I wasn't getting orientation data.
  8. Ext version tested:

    Sencha Touch 2.2.0


    Browser versions tested against:

    Chrome OS X
  9. It's even better to use the apply method of the config property


    applySubview:function (newSubview, oldSubview) {
    if (!Ext.getClass(newSubview)) {
    // passed object...
  10. To answer my own question.

    Don't know if it's the right way to do it, but this seems to work

    Initialize method:

    ...

    var subview = this.getSubview();
  11. How do I init an object from a passed config?

    For example, I have a component with a config 'subview', if I pass a config instead of an object I would like to initialize that object.

    This...
  12. REQUIRED INFORMATION




    Ext version tested:

    Sencha Touch 2.2.0
    Browser versions tested against:
  13. Replies
    1
    Views
    2,685
    I was wondering what are the advantages (and disadvantages) of creating a plugin that is only usable with a single component (ex. list) or creating a subclass of that component?
  14. I just tested, and the same thing happens if I use a textfield instead of a selectfield.
  15. I'm trying to add a button to a select field, but no matter what I do the value label gets wrapped to the next row. When I don't set 'label' everything is ok, but then (obviously) the label is...
  16. I'm using 2.2.0
  17. I have a store with localstorage proxy, which contains the 'Artist' model. Artist is associated with Song model.

    The problem: when I edit artist data and sync, the artist is removed from the...
  18. Thanks for the quick response. Your suggestion will work fine for my case.
  19. Is there a way to add one record to a store multiple times. For ex:

    Playlist:
    - Song 1
    - Song 2
    - Song 1

    I've tried using .add(song) but it simply ignores it if it's already in the store....
Results 1 to 19 of 19