Search Type: Posts; User: skirtle

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. 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...
  2. 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)...
  3. Replies
    3
    Views
    103
    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...
  4. 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,...
  5. @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...
  6. 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...
  7. 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,...
  8. 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...
  9. 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...
  10. 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...
  11. If all you've done is set componentGC: false then you've probably made things worse as you'll now be leaking components.
  12. 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...
  13. 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...
  14. 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...
  15. https://code.google.com/p/chromium/issues/detail?id=492415
  16. Ideally you'd use a convert on the field but you've said that isn't an option.

    I'm not aware of a renderer option for widgetcolumn. Where are you getting that from?

    Perhaps you could subclass...
  17. I believe this is the fix you need:

    https://www.sencha.com/forum/showthread.php?148064&p=1048859&viewfull=1#post1048859

    Ideally you should still switch to the officially supported sparkline if...
  18. So I changed the console logging to this to get a breakpoint:


    blur: function(fld, e, opts) {
    debugger;
    }

    Walking through the stack it seems the focus call is coming from a timer, so I...
  19. Writing your own layout is very difficult, I would advise taking any other alternative.

    The best docs I'm aware of are here:

    http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.layout.Context
    ...
  20. My instinct would be that afterrender is a little too early to be changing focus, though I don't have any concrete reason for that, it just feels early. If you use a blur listener you should be able...
  21. Compatibility with ExtJS 4.2 was added in version 1.1, released May 2013.
  22. Replies
    6
    Views
    337
    I suggest extracting a test case that doesn't involve the GridPicker.
  23. JsonStore is a menace and should be removed from the framework. Just extend Ext.data.Store instead.

    If you want to know why, take a look at the source code for JsonStore. It only considers...
  24. The first step in investigating this is to simplify your test case. Something like this:

    noj

    No grid, no button... just two textfields in a menu. One works, the other doesn't, and the only...
  25. I haven't studied it in great detail but my first observation is that you have global variables leaking all over the place. You seem to be accessing members Java-style with an implicit 'this' but...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4