{"hidden":false,"children":[{"configs":{"itemId":"module"},"expanded":true,"children":[{"configs":{"layout":"border","itemId":"viewport1"},"expanded":true,"children":[{"configs":{"itemId":"toolbar1","region":"north"},"expanded":true,"children":[{"configs":{"itemId":"getAllDataBtn","text":"一次性获取所有数据","iconCls":"seek_icon"},"expanded":false,"children":[],"type":"item","events":{"click":"Wb.request({\n  url: 'm?xwl=examples/controls/grid/data-source/get-multi-data',\n  success: function(resp) {\n    var data = Wb.decode(resp.responseText);\n    Wb.setValue(app.viewport1, data);\n  }\n});"}},{"configs":{"itemId":"line","text":"-"},"expanded":false,"children":[],"type":"item"},{"configs":{"itemId":"item1","xtype":"tbtext","text":"文本："},"expanded":true,"children":[],"type":"item"},{"configs":{"itemId":"text"},"expanded":false,"children":[],"type":"text"},{"configs":{"itemId":"item2","xtype":"tbtext","text":"数字："},"expanded":false,"children":[],"type":"item"},{"configs":{"itemId":"num"},"expanded":false,"children":[],"type":"number"},{"configs":{"itemId":"item3","xtype":"tbtext","text":"日期："},"expanded":false,"children":[],"type":"item"},{"configs":{"itemId":"date"},"expanded":false,"children":[],"type":"date"}],"type":"toolbar"},{"configs":{"layout":"@{type: 'hbox',align:'stretch'}","itemId":"container1","defaults":"{\n  flex: 1\n}","region":"center"},"expanded":true,"children":[{"configs":{"itemId":"company","pagingBar":"false"},"expanded":true,"children":[{"configs":{"itemId":"store","fields":"['COMPANY_NAME', 'ADDR', 'COUNTRY']"},"expanded":false,"children":[],"type":"store"},{"configs":{"itemId":"columns"},"expanded":true,"children":[{"configs":{"itemId":"companyNameCol","dataIndex":"COMPANY_NAME","flex":"1","text":"公司名称"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"addrCol","dataIndex":"ADDR","flex":"1","text":"地址"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"countryCol","dataIndex":"COUNTRY","flex":"1","text":"国家"},"expanded":false,"children":[],"type":"column"}],"type":"array"}],"type":"grid"},{"configs":{"itemId":"employee","pagingBar":"false"},"expanded":true,"children":[{"configs":{"itemId":"store","fields":"['EMPLOYEE_ID', 'EMPLOYEE_CODE', 'REAL_NAME']"},"expanded":false,"children":[],"type":"store"},{"configs":{"itemId":"columns"},"expanded":true,"children":[{"configs":{"itemId":"idCol","dataIndex":"EMPLOYEE_ID","flex":"1","text":"ID号"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"codeCol","dataIndex":"EMPLOYEE_CODE","flex":"1","text":"代码"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"nameCol","dataIndex":"REAL_NAME","flex":"1","text":"姓名"},"expanded":false,"children":[],"type":"column"}],"type":"array"}],"type":"grid"}],"type":"container"}],"type":"viewport"}],"type":"module"}],"roles":{"demo":1},"title":"一次请求多个表格","iconCls":"","inframe":false,"pageLink":""}