Extjs uses sencha architect 3.5 data binding

1. Create an edit window,

 

2. Create a panel

 

3. Select mypanel1ViewModel on the right, select data below, its data type is object, you can think of the definition

 4 as shown in the figure, modify the label attribute 5 for myPanel1

 , save the page, and publish

You can see the viewmodel value we defined in the title of the running effect. The same is true for all other bindings. You can bind an input box, and the attributes of the button can be

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326764194&siteId=291194637