Search Type: Posts; User: skirtle

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. To understand why, see:

    http://docs.sencha.com/extjs/4.2.1/source/Basic.html#Ext-form-Basic-method-submit

    I don't know whether you tried stepping through in the debugger but it should have...
  2. All of which reinforces my suspicions that the form is being submitted by standard form submit rather than AJAX.

    Use a debug build of ExtJS and step through in the debugger. It should quickly...
  3. What were your observations for the following?





    Based on what you've posted so far I believe the problem is the first of these.

    The console notice gives the line in ExtJS that makes the...
  4. If you stop propagation then the focus moves to the trigger in the property grid. The problem is you then can't tab to the next field.

    You might be able to get that to work with a keydown handler...
  5. Is the form being submitted via AJAX? The browser debug tools should tell you that. (e.g. in Chrome there's a 'Type' column in the Network section).

    Try removing all the response headers, see if...
  6. Ext.define('DynamicButtonText', {
    ...
    text : new Date(),
    ...
    });

    In this example you're creating the Date object when the class is defined and sharing it via the prototype between...
  7. Couldn't you just disable the combobox instead?

    There's an empty store created by the framework with the id ext-empty-store, you could use that if you're trying to avoid creating new stores. See...
  8. I've already given several pointers and suggestions. Without any feedback on those ideas I'm struggling to add anything new.

    There's only so much we can do to help you if you don't provide a...
  9. I quite like this approach but I'm not sure it'll be much faster. Rendering 50 comboboxes takes time no matter how you do it.

    You also need to consider sizing and destroying the child components,...
  10. By default a tabpanel has deferredRender set to true, so child items aren't rendered until the tab is first clicked. However, the child items are still instantiated, just not rendered. I sometimes...
  11. Replies
    3
    Views
    162
    It's Ext.menu.Item, not Ext.menu.Menu.
  12. There's a sliding scale here.

    Using some simple HTML & CSS with a suitable renderer is the light-weight solution. Done correctly it'll be really fast and there's little risk of serious problems...
  13. var values = combo.getStore().collect(combo.displayField);

    Note that collect assumes the values are unique. If that isn't a safe assumption you can use store.each to loop over the records (models)...
  14. Replies
    3
    Views
    131
    I would discourage you from firing events like this. The blur event should only fire in response to the field losing focus, you shouldn't fake it just to call a listener.

    I don't believe firing...
  15. To get the effect of a button you just need some suitable HTML and CSS. You can use a renderer on the column to churn out whatever mark-up you need.

    Wiring up the interactions (hover effects,...
  16. @kosmonaFFFt. It may be possible but I haven't tried it. My suggestion would be to create a subclass which substitutes the renderer for a summaryRenderer (or creates both, whichever makes sense for...
  17. Probably unrelated but this is not the correct way to extend a class. You should use extend, not overrides. overrides is used for patching existing classes.



    No, but it still won't be rendered...
  18. If you include renderTo it will render the component directly to the specified DOM node. This is unnecessary if...


    You're rendering a viewport...
    OR you're working with a floating component,...
  19. Only the outer-most container should have renderTo - remove it from the button.
    Get rid of the Ext.create calls for items, just pass configs with suitable xtypes. What you're doing should work but...
  20. Yes.



    If you only have 200 elements you shouldn't have 19,000 calls to appendChild. Even if it isn't the problem you should figure out why this is happening.



    The profiler will give you...
  21. You mean page, start and limit?

    They're added by default to pass along paging information. You can remove them using pageParam, startParam and limitParam. See the docs for more details. The _dc is...
  22. If all you've done is set componentGC: false then you've probably made things worse as you'll now be leaking components.
  23. My point was that, where possible, you should use the mechanisms provided within the framework to generate HTML rather than doing it yourself. It won't necessarily be the fastest way to do it but it...
  24. The profiling tools in IE 11 are pretty good so you should be able to narrow this down fairly quickly. 200 divs is nothing, a small grid would have more elements than that.

    The way you're using...
  25. I'm happy to help you investigate if you can provide a complete, minimal test case. The current 'test case' is neither complete nor minimal. I suggest using Sencha Fiddle rather than just posting...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4