{"inframe":false,"title":"数据加载","hidden":false,"roles":{"demo":1,"dev":1},"children":[{"configs":{"itemId":"module"},"children":[{"configs":{"layout":"fit","itemId":"viewport1"},"children":[{"configs":{"autoScroll":"true","border":"false","itemId":"panel1"},"children":[{"configs":{"defaults":"{\n  padding: 8\n}","style":"margin-left:auto;margin-right:auto;","width":"800","border":"false","padding":"8","itemId":"panel2"},"children":[{"configs":{"title":"应用服务器端分页","collapsible":"true","itemId":"fieldset1"},"children":[{"configs":{"height":"200","autoRowNumWidth":"true","sortableColumns":"false","itemId":"grid1"},"children":[{"configs":{"maskBindObject":"true","autoLoad":"true","itemId":"store","url":"m?xwl=examples/controls/grid/data-source/select"},"children":[],"expanded":false,"type":"store"}],"expanded":true,"type":"grid"}],"expanded":true,"type":"fieldset"},{"configs":{"title":"数据库端分页","collapsible":"true","itemId":"fieldset2"},"children":[{"configs":{"height":"200","autoRowNumWidth":"true","sortableColumns":"false","itemId":"grid1"},"events":{"afterrender":"app.fieldset2.down('#inputItem').setWidth(60); //页号输入框宽度"},"children":[{"configs":{"maskBindObject":"true","autoLoad":"true","itemId":"store","url":"m?xwl=examples/controls/grid/data-source/paged-select"},"children":[],"expanded":false,"type":"store"}],"expanded":true,"type":"grid"}],"expanded":true,"type":"fieldset"},{"configs":{"title":"无限制记录加载（按需加载）","collapsible":"true","itemId":"fieldset3"},"children":[{"configs":{"height":"200","autoRowNumWidth":"true","sortableColumns":"false","itemId":"grid1","barInfoLabel":"false"},"children":[{"configs":{"buffered":"true","maskBindObject":"true","autoLoad":"true","itemId":"store","url":"m?xwl=examples/controls/grid/data-source/paged-select"},"children":[],"expanded":false,"type":"store"}],"expanded":true,"type":"grid"}],"expanded":true,"type":"fieldset"},{"configs":{"title":"不使用分页（一次性加载全部，不建议使用，数据量大时占用资源）","collapsible":"true","itemId":"fieldset4"},"children":[{"configs":{"height":"200","barPageButton":"true","sortableColumns":"false","itemId":"grid1"},"children":[{"configs":{"maskBindObject":"true","pageSize":"-1","autoLoad":"true","itemId":"store","url":"m?xwl=examples/controls/grid/data-source/select-all"},"children":[],"expanded":false,"type":"store"}],"expanded":true,"type":"grid"}],"expanded":true,"type":"fieldset"}],"expanded":true,"type":"panel"}],"expanded":true,"type":"panel"}],"expanded":true,"type":"viewport"}],"expanded":true,"type":"module"}],"pageLink":"","iconCls":""}