Results 1 to 3 of 3

Thread: MVVM form set

  1. #1
    Sencha User
    Join Date
    Jan 2016

    Default MVVM form set

    I am new to Ext js.

    I need to modify an existing code which is not working . Basically using simple mvvm form need to be loaded the db when user clicks on the link. it is not a grid but just two or three fields. I am not sure MVVM is needed here or i can combine mvvm and mvc together. I am looking for a best practice in MVVM to load forms using store or model.

  2. #2
    Sencha - Sustaining Engineer tristan.lee's Avatar
    Join Date
    Mar 2015
    Central Ohio


    To start, what is "not working" with your existing code? Here's a very basic example of how to load a record into the form:

    Tristan Lee
    Sencha Inc - Sustaining Engineer

    Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (

    Embed your fiddle in your post: [FIDDLE]id[/FIDDLE]

  3. #3
    Sencha User
    Join Date
    Jan 2016


    thank you. i was looking for how to set form using mvvm instead of form.loadRecord().

    please see my fiddle where how i bind model to the view. I am looking for best practice.

    Also in your example, what is this '->' will do?I have seen it many places.

Similar Threads

  1. MVVM Bind Ext.form.Panel to Single-record store
    By benoror in forum Ext 5: Q&A
    Replies: 8
    Last Post: 25 Nov 2015, 4:57 AM
  2. Reset form fields in MVVM
    By Karthick23 in forum Ext 5: Q&A
    Replies: 4
    Last Post: 5 Jan 2015, 2:06 PM
  3. MVVM vs. MVC
    By blomasky in forum Ext 5: Q&A
    Replies: 16
    Last Post: 24 Apr 2014, 8:17 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