Search Type: Posts; User: StuartAshworth

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. It could be that your tree is being refreshed and the nodes re-rendered, causing your Description HTML to be readded, and subsequently losing the listener.

    I would recommend using event delegation...
  2. Just as a follow up I've come up with a workaround which may help someone down the line.

    Essentially the workaround involves the following steps:

    - attach a plain JS handler to the DOM node (or...
  3. TL-DR: HTML5 video not playing when triggered from Ext Button, but plays fine on simply HTML link in iOS. Fiddle here: https://fiddle.sencha.com/#fiddle/1cv5


    I'm working on an app that has an...
  4. If you set the column you want frozen with the locked config it should keep it static. Check out the docs here - http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.grid.column.Column-cfg-locked
    ...
  5. Replies
    3
    Views
    4
    You'd probably be better off asking this question or searching for an answer on StackOverflow. File uploads from Ext JS work just like any other web file upload so the server code will be the same.
  6. Essentially you just need to customise the template used for the combobox. There's an example from Ext JS 4 here (https://www.sencha.com/forum/showthread.php?136623) which you can probably modify.
  7. No problem, glad it helped.
  8. Sure! So what I was meaning was that there are a lot of different ways to get references to components so picking the best one is down to the context of where you're retrieving it.

    For example, in...
  9. The best way to retrieve a component really depends on the context you're doing it. If you're in a parent component then the down and query methods are good. You can pass them a ComponentQuery.

    In...
  10. No problem :)
  11. No, just a rhetorical question to the OP to give it a try.
  12. If you add 'Hi' in the altFormats config then it will work. (As in Hours & Minutes - not the greeting :) )

    For example,



    ...
    altFormats: 'H:i|Hi'
    ...
  13. Replies
    1
    Views
    2
    You can use the initialize method to replace the initComponent method. You can't use the same Ext.apply(this, {...}); approach but you can use the setters to define items and configs etc.

    Check...
  14. I believe you can require full namespaces using * placeholders.

    For example, require the full data package:



    ...
    requires: [
    'Ext.data.*'
    ]
  15. You could add a blur handler to the textfield and assign focus back to itself. Check out this fiddle: https://fiddle.sencha.com/#fiddle/1ch4
  16. Hi Patrick,

    I'm afraid it doesn't dive deeply into the specifics of all the components and, as you mention, theming. It is aimed at being a high level guide to the latest framework version,...
  17. Replies
    6
    Views
    7
    Nice one, glad you got it sorted!
  18. I've seen this error when using the bind config with configs that don't have setter methods so can't be dynamically updated. Does this apply to your setup?
  19. Replies
    6
    Views
    7
    Try adding a handler to the view's destroy method with a debugger statement in it. It sounds like the view is being destroyed automatically since the upgrade - that might help to figure out where the...
  20. You can use the refresh method of the Ext.view.Table class, which has it's instance in the view property of the grid.

    For example,



    var grid = Ext.create('Ext.grid.Panel', {...});
    ...
  21. Nice one! Thanks for sharing the solution :)
  22. Replies
    2
    Views
    3
    I think the onFocusLeave method of the Ext.Editor class triggers the completeEdit process. You could override that method to selectively complete the edit or stop that completely and use a keydown +...
  23. You could try using a library like Clipboard.js (https://clipboardjs.com/) to handle the clipboard access.
  24. Thanks for the tip Murray!

    As an update for Ext JS 6 (Classic) I had to change the CSS to the following:




    .x-menu-no-icon a.x-menu-item-link .x-menu-item-text {margin-left: 5px;}
  25. Thanks Gary - appreciate you putting it in there for consideration!
Results 1 to 25 of 113
Page 1 of 5 1 2 3 4