Search:

Type: Posts; User: stildalf

Search: Search took 0.02 seconds.

  1. Definitely looks more elegant than the Mixin...

    Definitely looks more elegant than the Mixin solution, thanks for sharing despite the relevant age of the thread.
  2. Similar experience here, slightly different...

    Similar experience here, slightly different environment to OP, but also on Linux OS.

    Issue was first noticed after upgrade to v6.7.0 CE, not seeing the same for v.6.6.0 CE ext-gen'd apps.

    I get...
  3. Replies
    2
    Views
    246

    The ViewController's lookupReference() finds any...

    The ViewController's lookupReference() finds any descendant elements of the bound view, in your case you're looking for the view itself:

    var s1 = this.getView();
  4. Views and their ViewModels are typically...

    Views and their ViewModels are typically hierarchical in nature (as in your example), and
    a ViewModel inherits 'data' values from the VM hierarchy using the javascript prototype chain.

    Some...
  5. Replies
    8
    Views
    7,714

    If I can share some thoughts on this: Nothing...

    If I can share some thoughts on this:

    Nothing wrong with using a renderer function - binding anything to the column will not resolve down per underlying store record.
    Model associations are...
  6. My problem with extending is the forced linear...

    My problem with extending is the forced linear heritage. Where in the tree do I place certain fields that are selectively required across various branches?

    With some more fiddling from my previous...
  7. Replies
    8
    Views
    2,122

    If you want to use ViewModels and all their...

    If you want to use ViewModels and all their binding glory - forget (just for the moment) about trying to set values dynamically from the field component via something like...
  8. Replies
    8
    Views
    2,122

    Sorry, no - I might've sent you down the wrong...

    Sorry, no - I might've sent you down the wrong path here. Using the displayField's renderer function bypasses any tpl or XTemplate stuff.

    I'm also a little confused by your bindings and...
  9. Replies
    8
    Views
    2,122

    I know this doesn't answer the actual question,...

    I know this doesn't answer the actual question, re XTemplate, but for a quick fix to "format" a display field try something like this:


    {
    xtype: 'displayfield',
    fieldLabel: 'Status',
    ...
  10. Replies
    2
    Views
    3,964

    I might have it all wrong, but are...

    I might have it all wrong, but are 'textReference' and 'dateReference' referring to fields in the View - each with the reference config set accordingly?

    If so, I would attempt turning things...
  11. Replies
    8
    Views
    2,122

    Simple way: { xtype: 'label', ...

    Simple way:

    {
    xtype: 'label',
    bind: '{reservation.insert_date:date}' // Uses Ext.Date.defaultFormat
    }


    Or with some more control:
  12. I might not be grasping your intentions...

    I might not be grasping your intentions perfectly, but both Grid and Tree Panels require a store. If you want those stores in the ViewModel use the VM's stores property:
    ...
  13. Ext.data.Model frequently used Fields or Mixins

    Hi All,

    Any of you have recommendations or best practice for code re-use on frequently (but not universally) used fields in data models?

    I'm aware that common fields can be placed in a base...
  14. autoCancel: false Again, seems to work for...

    autoCancel: false
    Again, seems to work for rowediting, but not cellediting.
  15. or you could've added: deferredRender: false,...

    or you could've added:

    deferredRender: false,
    to the tabPanel.
  16. Thanks Claudio, I almost got excited. But my...

    Thanks Claudio, I almost got excited.

    But my problem persists.

    https://fiddle.sencha.com/#fiddle/t9u
    I've updated the fiddle to use beforedeselect, but still no joy on the editor.editing...
  17. How do I prevent user grid row selection when cell editing?

    Hi All,

    How do I prevent the user from selecting another row while editing a grid cell with the cellediting plugin?

    Here's a Fiddle for reference.

    What I've tried so far: using the...
  18. Replies
    4
    Views
    837

    Thanks

    No hassle, thanks for the update!

    Url here, in case anyone's wondering.
  19. Replies
    4
    Views
    837

    Thanks for opening the bug Mitchell. Can I be...

    Thanks for opening the bug Mitchell.

    Can I be so brash as to ask if you'll pop a note here when the docs have been pushed to the CDN?
  20. Replies
    4
    Views
    837

    5.1.1-apidocs - offline availability?

    Hi Guys & Gals,

    Can anyone point me in the direction of the offline api docs for 5.1.1 please?

    If you look at http://docs.sencha.com/extjs/5.1/, the link to the 5.1.1 offline docs points to...
  21. [FIXED] Anybody have a hint on a workaround here? ...

    Anybody have a hint on a workaround here?

    Total shot in the dark, but is this type of thing not related to ViewModel timing issues? Also don't know how this...
  22. [DUP] Grid Summary not updating on ViewModel bound Store

    Ext version tested:

    5.1.0.107


    Browser versions tested against:

    Chrome 39
Results 1 to 22 of 22