我想了解ExtJS协会是如何运作的。我还没有找到一个关于这个问题的可理解的教程,它涵盖了我的两个主要用例,特别是ExtJS如何区分这两个用例:
I have laid the ground in this fiddle,有人可以帮助我填补空白吗?
答案 0 :(得分:0)
**fields: [
{name: 'AA', mapping: 'qq'},
{name: 'SS', mapping: 'pp'},
]**
The **name** you write the name given in gui part
eg:
{
xtype:'mytext',
label:'',
**name:'AA',**
editable:true
}
when you receive responses like this and in xml so the data is mapped like this:
*<wer>
<qq>data</qq>
<>data</>
</wer>*
so, we map the response data to name in gui.....