Search Type: Posts; User: skirtle

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. You must get some decent measurements on this before you start making changes. It isn't necessary to isolate the toolbar changes, quite the opposite, the measurements are only meaningful in the...
  2. Is the time spent rendering or doing the layouts? If it's the latter then a lightweight button may not help but a few tweaks to your layout config (e.g. fixed sizes on the toolbar) might.

    I...
  3. You're calling focus too soon.

    m7f
  4. Couldn't you just call focus on the button?
  5. Replies
    5
    Views
    235
    You can prevent the selection using the beforeselect event, though it'll get a bit fiddly.
  6. Please provide a Fiddle:

    https://fiddle.sencha.com/
    https://www.sencha.com/forum/showthread.php?268535-Using-Fiddle-within-the-forums

    It's quite difficult to read your code because you haven't...
  7. My first thought is that you should stay clear of ids, use a CSS class instead. Also, does it 'work' as expected if you remove the delegate selector completely?

    I suggest putting together a Sencha...
  8. OK, that makes sense. It hadn't occurred to me that the library overrides itself, in my mind that stuff is just for monkey patching bugs. If I were you I'd be tempted to submit a feature request/bug...
  9. I see.

    Your scenario is a little odd. Why not just remove the other override? It's not clear why you would write a second patch to bypass your original patch.

    Assuming you can't just remove the...
  10. callSuper?
  11. I don't see this property in your response:


    rootProperty: 'elenco'

    Try:


    rootProperty: 'data'
  12. Not necessarily. An exception will prevent subsequent code being run, so if initAlarmGridExtend is being called synchronously from within that file it won't get any further. Being at the 'root level'...
  13. Possibly a requires block in the AlarmGrid definition? Or maybe the class it extends isn't loaded yet? If any dependencies are missing the class definition will be deferred.

    If the AlarmGrid code...
  14. It appears AlarmGrid doesn't exist yet.

    Try this on the line before you try to create it:


    console.log(Ext.ux.AlarmGrid);

    As for why... Is the file containing AlarmGrid being loaded?
  15. Isn't what you're describing the Summary feature?

    http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.grid.feature.Summary
  16. Put in a breakpoint or use the debugger keyword:


    getValue: function() {
    debugger;
    return this.getRawValue();
    },

    That'll pause execution and allow you to inspect the stack so you...
  17. Replies
    6
    Views
    332
    What I was suggesting is that you might have a scenario like this:


    Ext.define('MyGrid', {
    viewConfig: {
    getRowClass: ...
    }
    });

    Ext.create('MyGrid', {
  18. Replies
    3
    Views
    192
    I had a go at a pure CSS solution:

    les

    Selected rows will display a red arrow.

    An arrow outside the grid poses some questions for how it should work when the grid is scrolled (i.e. such that...
  19. It'd be the same as the selector for jQuery wouldn't it? You've dropped the 'name=' part in your Ext version.
  20. Replies
    2
    Views
    481
    That's right, store loading is asynchronous so you'll need to use a callback or a load event listener to wait for the store to load the data before you can access the records.
  21. Replies
    8
    Views
    5,930
    Most likely it's a problem with the timezone or DST. It needs someone who can reproduce the problem (I can't) to step through in the debugger to figure out where things go awry.

    It is also...
  22. True, but I feel you've missed the point.

    If you have two totally separate stores then loading one won't affect the other. That's why you're having to do the two loads.
  23. The techniques you described for specifying a store in earlier versions should still work fine in ExtJS 5. Those two techniques refer to a specific store instance and they rely on the instance being...
  24. Something like this?

    kq7

    You could specify the hoverCls directly on each column but using defaults seems easier.

    That CSS class also shows the menu trigger. If you want to maintain that part...
  25. Replies
    6
    Views
    332
    Where is your viewConfig? If you've put it on your class config then perhaps you've inadvertently overridden it in your instance config?
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4