Results 1 to 2 of 2

Thread: How to override ViewModel object.

  1. #1

    Default How to override ViewModel object.

    I'm using Sencha Architect 3.5.
    Our project contains huge number of forms. There are some ViewModel files which were developed outside of Sencha Architect 3.5. Now we decided to use Sencha Architect always.
    But those files (created outside of Sencha Architect) not recognized Sencha Archtect. What should I do now?
    How can I override those file. There are so many stores,Formulas has been written in side those ViewModels.

    Please give me some ideas how to solve this problem.

  2. #2
    Sencha User
    Join Date
    Sep 2014
    Location
    Central Europe
    Posts
    795
    Answers
    103

    Default

    Hello

    What you can do is to create the class and its ViewModel inside SA. Select ViewModel in the Project Inspector and click on Create Override and past your code there.
    createOverride.PNG

    It could work for you. But you will not see them nicely (stores, forumals etc) in the project inspector.

    Regards
    Petr

Similar Threads

  1. [FIXED] ViewModel tries to update bound data on a destroyed object
    By JaceyB in forum Ext JS 6.x Bugs
    Replies: 3
    Last Post: 4 Dec 2017, 12:17 PM
  2. Can not override to ViewModel
    By doragon_neo in forum Ext JS 6.x Q&A
    Replies: 2
    Last Post: 9 Aug 2016, 9:09 AM
  3. ViewModel create object does not support nested data
    By paulevans in forum Ext JS 6.x Q&A
    Replies: 0
    Last Post: 18 Jul 2016, 4:12 AM
  4. copy & override object
    By neenhouse in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 8 Jan 2008, 8:51 AM

Posting Permissions

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