Results 1 to 4 of 4

Thread: TreePanel store can't bind to viewModel store

    You found a bug! We've classified it as DSGNR-7928 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    63
    Vote Rating
    1
      0  

    Default TreePanel store can't bind to viewModel store

    SA: 4.2 and ExtJS 6.5 Classic

    Step to reproduce:
    o create a new project based on the last layout example: "Header / Content/ Left Tree Menu"
    o duplicate the MenuStore to MenuStore1
    o drag/drop MenuStore1 to the viewmodel of "My Viewport"
    o fill the name of the viewmodel store to be "menus"
    o change the store of the menuPanel to use binding and use {menus} for the store

    ==> you should get the error:
    Framework Error: Uncaught TypeError: store.getRoot is not a function

  2. #2
    Sencha User
    Join Date
    Sep 2014
    Location
    Central Europe
    Posts
    795
    Vote Rating
    52
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Ext JS Premium Member
    Join Date
    Aug 2009
    Location
    Sant cugat del Valles
    Posts
    29
    Vote Rating
    0
      0  

    Default

    I got the same since extjs6.2, and everytime the architect refresh the view it goes to blank.... hope you can fix it !

  4. #4
    Sencha Premium Member
    Join Date
    Feb 2016
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Any update on this issue ? I am having the same problem when trying to bind Tree with Viewmodel Store

Similar Threads

  1. How to bind a store count into a viewModel data ?
    By Psychokrameur in forum Ext 6: Q&A
    Replies: 14
    Last Post: 12 Dec 2017, 2:24 PM
  2. ViewModel: Bind store autoLoad property
    By landoni in forum Ext 5: Q&A
    Replies: 1
    Last Post: 14 May 2015, 9:37 AM
  3. Replies: 0
    Last Post: 11 Feb 2015, 9:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •