Search Type: Posts; User: LesJ

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. I'm curious why the more common alias property is not used for some components.

    Ext.define('Ext.window.Toast', {
    extend: 'Ext.window.Window',


    xtype: 'toast', // <-- Why xtype is...
  2. The doc is IMO somewhat misleading. It says "Initialize any events on this component", but it looks like it's intended to initialize events to be handled after the component is rendered, not any...
  3. Replies
    0
    Views
    1
    I entered "sencha build" instead of "sencha app build".

    The typo resulted in a crash, but it would be better to see a warning instead.

    For example, when I enter "git stats" instead of "git...
  4. The component showAt method should return the component according to the doc.

    Ext.define('Ext.Component', {
    ...
    * @param {Number/Number[]} x The new x position or array of `[x,y]`.
    ...
  5. Button.showMenu should document its return value similarly to Button.toggle.

    /**
    * If a state it passed, it becomes the pressed state otherwise the current state is toggled.
    *...
  6. I don't see that the ct and pos params are ever used. They appear to be not needed.

    Ext.define('Ext.menu.Separator', {
    ...
    beforeRender: function(ct, pos) {
    var me = this;

    ...
  7. Replies
    7
    Views
    157
    You can call the Application.setMainView setter inside the launch method to dynamically configure the main view.
  8. Replies
    5
    Views
    142
    lookupReference looks up a component in the cache, so it's fast.

    lookupReference: (reference) {
    var cache = this.references;
    if (!cache) {
    Ext.fixReferences(); // fix all...
  9. Replies
    5
    Views
    142
    Use lookupReference instead. See more info in the View Controller guide.
  10. Better example: https://fiddle.sencha.com/#fiddle/rhn

    Error "Uncaught TypeError: name.indexOf is not a function" results when the config is an object.
  11. This is how I use, but it accepts only a full class name, not an xtype or a config object. An object should be accepted according to the doc.

    You can ignore the KitchenSink example that I...
  12. According to the Ext JS 6 doc, the Application.setMainView method should accept a configuration object, but an error results when a config is passed.

    Steps to reproduce this error:
    1.) Go to this...
  13. The Container moveBefore and moveAfter methods may accept an array of configuration objects or an array of components, but they are each documented as accepting a single item.

    Multiple items can...
  14. Why MixedCollection is still required if it's not used?

    Ext.define('Ext.container.Container', {
    ...
    requires: [
    'Ext.util.MixedCollection',
    ...
    ...
  15. Thanks, I noticed a difference... but these are configs and the grid is configured properly as documented, so there should be no error.
  16. If you feel this is a bug, then I suggest that you post it in the bug section and include a fiddle to reproduce this problem. IE8 and higher is supposed to be supported.
  17. ItemCollection doesn't subclass AbstractMixedCollection, so perhaps this assignment should be the following: :-?

    me.items = new Ext.util.MixedCollection();

    Ext.util.MixedCollection is required...
  18. Simple grid works in Ext JS 4, fails in Ext JS 5 and 6.

    The following error results in Ext JS 5 and 6.

    Uncaught TypeError: Cannot read property 'scroll' of undefined.

    qk3
  19. Did you consider that a view controller can listen to events from another view controller?

    See this comment from dongryphon.
  20. Replies
    1
    Views
    130
    The 6.0 classic API doc shows a fake notice "You are viewing Ext JS docs. See Ext JS for latest stable."

    When I click this notice I get a Not found error. This notice should not be displayed...
  21. Replies
    1
    Views
    120
    The "or `null` if a Class was found." description should probably be removed because it does not return null.

    Ext.getCmp('xxx') // undefined

    Also, in the description of the ComponentManager.get...
  22. Works fine for me. I tried different recent versions including the latest Cmd 6.
  23. Replies
    1
    Views
    161
    I'm not able to run this command:

    sencha -sdk js/ext-6.0.0 generate app RJO.weboe weboe classic

    I get an error:

    [ERR] Application name must be in the format of a valid javascript variable...
  24. root.cascadeBy() should work for you.
  25. ext-6.0.0.616
    Are we supposed to report issues such as unused code in nightly builds?

    The method clearAll is defined, but I don't see that it's used anywhere.
    ...
Results 1 to 25 of 117
Page 1 of 5 1 2 3 4