Search:

Type: Posts; User: evant

Page 1 of 20 1 2 3 4

Search: Search took 0.19 seconds.

  1. 6.2 added extra functionality to clean up objects...

    6.2 added extra functionality to clean up objects on destroy().
  2. If it's in the class definitions it means it will...

    If it's in the class definitions it means it will end up on the prototype. Essentially:



    var cnt = 0;
    function Foo() {
    this.arr.push(++cnt);
    }

    Foo.prototype.arr = [];
  3. ES6 classes don't allow you to have properties...

    ES6 classes don't allow you to have properties declared on a class definition like Ext does.

    There's some discussion here: http://stackoverflow.com/a/22986568/149436

    To answer why it behaves...
  4. The intent of jsonSubmit was to take whatever...

    The intent of jsonSubmit was to take whatever getValue() returns and put it in an object to be encoded as JSON. The docs don't really make this clear.
  5. Replies
    5
    Views
    102

    The code in the OP passes a single config object...

    The code in the OP passes a single config object to confirm. The docs have:



    Where did you see an example that calls confirm() with an object parameter?
  6. Replies
    5
    Views
    102

    See the docs for confirm:...

    See the docs for confirm: http://docs.sencha.com/extjs/6.2.1/modern/Ext.MessageBox.html#method-confirm

    You probably want to call show().

    Currently, modern doesn't have a way of setting the...
  7. As Tristan said, typically these test cases form...

    As Tristan said, typically these test cases form the base of what will be transformed into a unit test, however there are a couple of things to take into account.

    1) The unit tests need to be...
  8. Replies
    1
    Views
    82

    Your viewmodel is incorrect, it's missing the...

    Your viewmodel is incorrect, it's missing the data: {} object wrapping "v".
  9. It's intentional. If you look at the constructor...

    It's intentional. If you look at the constructor for element you'll see it sets up various persistent thing for that instance that we don't want on the flyweight.
  10. The association should be the name of the method...

    The association should be the name of the method to call the store, not the field name in the model.
  11. [DUP] I think it's likely a dupe of this thread:...

    I think it's likely a dupe of this thread: https://www.sencha.com/forum/showthread.php?331198
  12. There browser isn't listed in the OP, but it may...

    There browser isn't listed in the OP, but it may be related to this bug: https://bugs.chromium.org/p/chromium/issues/detail?id=681708
  13. [OPEN] Thanks for the report! I have opened a bug in our...

    Thanks for the report! I have opened a bug in our bug tracker.
  14. [OPEN] Thanks for the report! I have opened a bug in our...

    Thanks for the report! I have opened a bug in our bug tracker.
  15. [OPEN] I think this can essentially be boiled down to: ...

    I think this can essentially be boiled down to:



    Ext.define('User', {
    extend: 'Ext.data.Model',
    });

    var parent = new Ext.data.Session(),
    child = parent.spawn();
  16. "instructions" is a config for the modern...

    "instructions" is a config for the modern toolkit, not classic. There's currently no equivalent, but you could make the first child a component:



    Ext.application({
    name: 'Fiddle',
    ...
  17. If you're upgrading from 4.x, then you want the...

    If you're upgrading from 4.x, then you want the classic toolkit. But then in that case I'm not sure why the require for "Ext.grid.plugin.MultiSelection" is there.
  18. I can't reproduce the issue as you described, no...

    I can't reproduce the issue as you described, no exception is thrown.
  19. If you're trying to include the modern toolkit,...

    If you're trying to include the modern toolkit, then you want ext-modern-all-debug.
  20. If you're including ext-all, there's no reason to...

    If you're including ext-all, there's no reason to require anything. The entire framework is included there.
  21. [CLOSED] Because loadData expects an array, you're passing...

    Because loadData expects an array, you're passing objects as arguments.
  22. You should bind to "checked", not "value".

    You should bind to "checked", not "value".
  23. By resizing the window, in effect you're calling...

    By resizing the window, in effect you're calling setSize(w, h); with the dimensions measured by the operation. You can call setSize(null, null); to clear that.
  24. Replies
    3
    Views
    122

    [INFOREQ] Remove scrollable: true, grids are already...

    Remove scrollable: true, grids are already scrollable by default.

    The underlying issue is already fixed for future versions.
  25. I understand that we can log a warning if the...

    I understand that we can log a warning if the formula returns undefined, but what I was getting at is that if a developer is returning undefined on purpose because a dependency isn't resolved, then a...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4