{"id":169125,"date":"2013-02-12T10:38:03","date_gmt":"2013-02-12T06:38:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=169125"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=169125","title":{"rendered":"<span class=\"post_title\">Ext JS 4 Grid \u00ab\u043d\u0430 \u043f\u0430\u043b\u044c\u0446\u0430\u0445\u00bb<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c, \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u0430\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438.<\/p>\n<p>  \u0421 \u043d\u0435\u0434\u0430\u0432\u043d\u0438\u0445 \u043f\u043e\u0440 \u044f \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0441\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 \u043d\u0430 Ext JS 4 \u0438 Zend framework 2.<\/p>\n<p>  \u041f\u043e\u043b\u044c\u0437\u0443\u044f\u0441\u044c \u0441\u043b\u0443\u0447\u0430\u0435\u043c, \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0435\u0440\u0438\u044e \u0441\u0442\u0430\u0442\u0435\u0439, \u00ab\u043d\u0430 \u043f\u0430\u043b\u044c\u0446\u0430\u0445\u00bb \u043e\u0441\u0432\u0435\u0449\u0430\u044e\u0448\u0443\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b Ext JS 4, \u0431\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u043e\u0431\u043e\u0439\u0434\u0435\u0442\u0441\u044f \u043d\u0438 \u043e\u0434\u043d\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 Ext JS (\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u0435, \u0441\u0435\u0440\u0438\u044f,- \u0433\u0440\u043e\u043c\u043a\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043e,- \u043f\u0438\u0448\u0443 \u0438\u0437 \u043f\u0435\u0441\u043e\u0447\u043d\u0438\u0446\u044b). <\/p>\n<h1>\u0418\u0442\u0430\u043a, Grid, \u0447\u0430\u0441\u0442\u044c 1.<\/h1>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 Grid \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0433\u0438\u0431\u043a\u0438\u0435 \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441 \u043f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u0435\u0439, \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u043e\u0439, \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0435\u0439, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0435 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u0443\u044e \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c, \u0448\u0430\u0431\u043b\u043e\u043d\u044b, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u0440\u0435\u043d\u0434\u0435\u0440\u0440\u0435\u0440\u044b, \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432, \u0441\u043e\u0431\u044b\u0442\u0438\u0439\u043d\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u0441\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 CRUD \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f ajax, rest, html5, cookies, \u0441\u0435\u0441\u0441\u0438\u0438 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435.<\/p>\n<p>  \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0441\u044c \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435 \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 grid (\u0432\u0441\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u044f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438, \u0441\u0442\u0440\u0435\u043c\u044f\u0441\u044c \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u0438\u0437 \u043d\u0438\u0445 \u043d\u0435\u043b\u044c\u0437\u044f \u0431\u044b\u043b\u043e \u0443\u0431\u0440\u0430\u0442\u044c \u043d\u0438 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u043a\u043e\u0434\u0430).<\/p>\n<h2>\u0421\u0430\u043c\u0430\u044f \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 Ext.grid \u0438 Ext.data.ArrayStore<\/h2>\n<p>  <\/p>\n<pre> &lt;code&gt; Ext.onReady(function() {       var myData = [         ['3m Co', 71.72, 0.02,  0.03,  '9\/1 12:00am'],         ['Alcoa Inc', 29.01, 0.42,  1.47,  '9\/1 12:00am'],         \/\/..................         ['Verizon Communications', 35.57, 0.39,  1.11,  '9\/1 12:00am'],         ['Wal-Mart Stores, Inc.', 45.45, 0.73,  1.63,  '9\/1 12:00am']     ];       var store = Ext.create('Ext.data.ArrayStore', {         fields: ['company','price','change','pctChange','lastChange'],         data: myData     });       Ext.create('Ext.grid.Panel', {         store: store,         columns: [         {             text     : 'Company',             dataIndex: 'company'         },         {             text     : 'Price',             dataIndex: 'price'         },         {             text     : 'Change',             dataIndex: 'change'         },         {             text     : '% Change',             dataIndex: 'pctChange'         },         {             text     : 'Last Updated',             dataIndex: 'lastChange'         }         ],         height: 350,         width: 600,         title: '\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 grid',         renderTo: 'grid1'     }); }); &lt;\/code&gt; <\/pre>\n<p>  \u0412 \u043e\u0441\u043d\u043e\u0432\u0435 \u043b\u0435\u0436\u0438\u0442 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441 <a href=\"http:\/\/docs.sencha.com\/ext-js\/4-1\/#!\/example\/grid\/array-grid.html\">\u0441\u0430\u0439\u0442\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432<\/a>.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b index.html (\u0438\u043b\u0438 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439) \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c:  <\/p>\n<pre> &lt;code&gt; &lt;!DOCTYPE html&gt; &lt;html&gt;     &lt;head&gt;         &lt;title&gt;&lt;\/title&gt;         &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=UTF-8&quot;&gt;         &lt;link rel=&quot;stylesheet&quot; href=&quot;\/resources\/css\/ext-all.css&quot; type=&quot;text\/css&quot; \/&gt;         &lt;script src=&quot;\/ext-all.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt;         &lt;script src=&quot;\/examples\/grid1.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt;     &lt;\/head&gt;     &lt;body&gt;         &lt;p&gt;\u041f\u0440\u043e\u0441\u0442\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 grid \u0438 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 Ext.data.ArrayStore&lt;\/p&gt;         &lt;div id=&quot;grid1&quot;&gt;&lt;\/div&gt;     &lt;\/body&gt; &lt;\/html&gt; &lt;\/code&gt; <\/pre>\n<p>  \u041d\u0435 \u0431\u0443\u0434\u0443 \u0437\u0430\u043e\u0441\u0442\u0440\u044f\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u044d\u0442\u043e\u043c \u0448\u0430\u0433\u0435. \u041e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 <a href=\"https:\/\/github.com\/spendlively\/Grid-example\">\u0445\u0430\u0431\u0435<\/a><\/p>\n<p>  \u0412\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u043a\u043e\u0434\u0443! <br \/>  \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043a\u0430\u0436\u0434\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Ext JS 4 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 Ext.onReady(function(){&#8230;}. \u0422\u0435, \u043a\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b, \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 jQuery \u0441\u0432\u043e\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0441 \u0447\u0435\u0433\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435: jQuery(document).ready(function(){&#8230;}),- \u0446\u0435\u043b\u044c \u043e\u0431\u043e\u0438\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043e\u0434\u043d\u0430 \u2014 \u043f\u043e\u0434\u043e\u0436\u0434\u0430\u0442\u044c, \u043f\u043e\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f DOM \u0438 \u0444\u0430\u0439\u043b\u044b \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430.<\/p>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u043d\u0435\u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0434\u0432\u0443\u0445\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 myData \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u044f\u043c\u043e \u0432 \u043a\u043e\u0434\u0435.<\/p>\n<p>  \u0417\u0430\u0442\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 Ext.create \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 <a href=\"http:\/\/docs.sencha.com\/ext-js\/4-1\/#!\/api\/Ext.data.ArrayStore\">Ext.data.ArrayStore<\/a>,- \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u043d\u044b\u043c\u0438 javascript \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u043c\u0438, \u0442\u0430\u043a\u0438\u043c\u0438 \u043a\u0430\u043a \u043d\u0430\u0448 myData.<\/p>\n<p>  \u041e\u0431\u044a\u0435\u043a\u0442 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c,- \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 new, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 new Ext.data.ArrayStore(&#8230;), \u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u0431\u044b \u043d\u0430\u043c \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c Ext.data.ArrayStore.<\/p>\n<p>  \u0411\u043b\u0430\u0433\u043e \u043d\u0430 \u044d\u0442\u043e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439 \u0432 Ext JS \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0430 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f Ext.require:<\/p>\n<pre> &lt;code&gt; Ext.require([     'Ext.grid.*',     'Ext.data.*', ]); &lt;\/code&gt; <\/pre>\n<p>  \u0422\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0434\u043b\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u0435\u0439 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 Ext.grid \u0438 Ext.data.<\/p>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 store,- \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u043e\u043b\u044f,- \u043d\u0435\u043a\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0430\u043c\u0438 \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0448\u0430\u0433 \u2014 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 <a href=\"http:\/\/docs.sencha.com\/ext-js\/4-1\/#!\/api\/Ext.grid.Panel\">Ext.grid.Panel<\/a>.<\/p>\n<p>  \u0412 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 Ext.grid.Panel \u043c\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 Store,- \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u0432 \u043d\u0435\u043c \u0436\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b grid \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u0430\u043d\u0435\u043b\u0438:<\/p>\n<p>  \u0432\u044b\u0441\u043e\u0442\u0443 (height), \u0448\u0438\u0440\u0438\u043d\u0443 (width), \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a (title) \u0438 id html-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 (renderTo), \u043a\u0443\u0434\u0430 Ext JS \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442\u044c \u043d\u0430\u0448\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u0443.<\/p>\n<p>  \u0412\u043e\u0442 \u0438 \u0432\u0441\u0435!<\/p>\n<p>  \u0412\u0441\u0435, \u0447\u0442\u043e \u043c\u044b \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043b\u0438, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 Grid, \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0432\u043e\u0434\u044f\u0449\u0443\u044e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u043e\u043a \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u043e\u0439 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/p>\n<p>  \u0417\u0430\u0431\u0435\u0433\u0430\u044f \u0432\u043f\u0435\u0440\u0435\u0434 \u043e\u0442\u043c\u0435\u0447\u0443, \u0447\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u0435\u0439 \u0432 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0440\u0430\u0432\u043d\u044b\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0432 grid,- \u043e\u043d\u0438 \u043b\u0438\u0448\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c, \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e \u0438 \u0433\u0434\u0435 \u0432\u0430\u043c \u0432\u0437\u0434\u0443\u043c\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0443\u044e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0443 grid:<br \/>  <img decoding=\"async\" src=\"http:\/\/www.phpshnik.ru\/public\/photo\/images\/1.jpg\" alt=\"image\"\/><br \/>  <a href=\"http:\/\/www.phpshnik.ru\/ext-js-4\/tablitsy-grids-v-ext-js-4\/grid-i-arraystore-v-ext-js-4#grid1\">Live demo<\/a><\/p>\n<p>  \u0417\u0430\u043c\u0435\u043d\u0438\u043c Ext.data.ArrayStore \u043d\u0430 <a href=\"http:\/\/docs.sencha.com\/ext-js\/4-1\/#!\/api\/Ext.data.Store\">Ext.data.Store<\/a>, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<\/p>\n<h2>Grid \u0438 Ext.data.Store<\/h2>\n<p>  <\/p>\n<pre> &lt;code&gt; Ext.onReady(function() {       var myData = [         {             company: 'Alcoa Inc',             price: 71.72,             change: 0.02,             pctChange: 0.03,             lastChange: '9\/1 12:00am'         },         {             company: 'Altria Group Inc',             price: 83.81,             change: 0.28,             pctChange: 0.34,             lastChange: '9\/1 12:00am'         },         {             company: 'American International Group, Inc.',             price: 81.82,             change: 0.12,             pctChange: 0.63,             lastChange: '9\/1 12:00am'         }     ];        var store = Ext.create('Ext.data.Store', {         fields: ['company','price','change','pctChange','lastChange'],         data: myData     });       var grid = Ext.create('Ext.grid.Panel', {         store: store,         columns: [         {             text     : 'Company',             dataIndex: 'company'         },         {             text     : 'Price',             dataIndex: 'price'         },         {             text     : 'Change',             dataIndex: 'change'         },         {             text     : '% Change',             dataIndex: 'pctChange'         },         {             text     : 'Last Updated',             dataIndex: 'lastChange'         }         ],         height: 350,         width: 600,         title: '\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 grid',         renderTo: 'grid2'     }); }); &lt;\/code&gt; <\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 myData \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0431\u043e\u0439 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 (\u0445\u044d\u0448\u0435\u0439), \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<p>  \u041d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u0432\u0441\u0435 \u0442\u0443 \u0436\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 (\u0440\u0430\u0437\u0432\u0435 \u0447\u0442\u043e \u0432 \u043d\u0435\u0439 \u043c\u0435\u043d\u044c\u0448\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0443 \u043d\u0435\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a).<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u043c <a href=\"http:\/\/docs.sencha.com\/ext-js\/4-1\/#!\/api\/Ext.data.Model\">\u043c\u043e\u0434\u0435\u043b\u044c<\/a> \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<\/p>\n<h2>Grid, Ext.data.Store \u0438 Ext.data.Model<\/h2>\n<p>  <\/p>\n<pre> &lt;code&gt; Ext.onReady(function() {       var myData = [         {             company: 'Alcoa Inc',             price: 71.72,             change: 0.02,             pctChange: 0.03,             lastChange: '9\/1 12:00am'         },         {             company: 'Altria Group Inc',             price: 83.81,             change: 0.28,             pctChange: 0.34,             lastChange: '9\/1 12:00am'         },         {             company: 'American International Group, Inc.',             price: 81.82,             change: 0.12,             pctChange: 0.63,             lastChange: '9\/1 12:00am'         }     ];            Ext.define('Model', {         extend: 'Ext.data.Model',         fields: ['company','price','change','pctChange','lastChange']      });               var store = Ext.create('Ext.data.Store', {         model: 'Model',         data: myData     });       var grid = Ext.create('Ext.grid.Panel', {         store: store,         columns: [         {             text     : 'Company',             dataIndex: 'company'         },         {             text     : 'Price',             dataIndex: 'price'         },         {             text     : 'Change',             dataIndex: 'change'         },         {             text     : '% Change',             dataIndex: 'pctChange'         },         {             text     : 'Last Updated',             dataIndex: 'lastChange'         }         ],         height: 350,         width: 600,         title: '\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 grid',         renderTo: 'grid3'     }); }); &lt;\/code&gt; <\/pre>\n<p>  \u041f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e \u043c\u043e\u0434\u0435\u043b\u0438: \u0435\u0441\u043b\u0438 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 Store \u2014 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u0442\u043e \u043c\u043e\u0434\u0435\u043b\u044c \u2014 \u044d\u0442\u043e \u043e\u0434\u0438\u043d \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u044d\u0442\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043c\u043e\u0434\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0439, \u043e\u0434\u043d\u0430\u043a\u043e \u0431\u0435\u0437 \u043d\u0435\u0435 \u043c\u044b \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043c\u043d\u043e\u0433\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u043c\u0438 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<\/p>\n<p>  \u041f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043a\u043e\u0434\u0435, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f <a href=\"http:\/\/docs.sencha.com\/ext-js\/4-1\/#!\/api\/Ext.data.proxy.Proxy\">Proxy<\/a>.<\/p>\n<h2>Grid \u0438 Proxy<\/h2>\n<p>  <\/p>\n<pre> &lt;code&gt; Ext.onReady(function() {        Ext.define('myModel', {         extend: 'Ext.data.Model',         fields: ['company','price','change','pctChange','lastChange']      });               var store = Ext.create('Ext.data.Store', {         model: 'myModel',         proxy: {              type: 'ajax',              url: '\/examples\/data\/data.json',              reader: {                  type: 'json',                  root: 'data'              }          },          autoLoad: true     });       var grid = Ext.create('Ext.grid.Panel', {         store: store,         columns: [         {             text     : 'Company',             dataIndex: 'company'         },         {             text     : 'Price',             dataIndex: 'price'         },         {             text     : 'Change',             dataIndex: 'change'         },         {             text     : '% Change',             dataIndex: 'pctChange'         },         {             text     : 'Last Updated',             dataIndex: 'lastChange'         }         ],         height: 350,         width: 600,         title: '\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 grid',         renderTo: 'grid4'     }); }); &lt;\/code&gt; <\/pre>\n<p>  \u0421 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435,- \u043c\u044b \u0443\u0431\u0440\u0430\u043b\u0438 \u0436\u0435\u0441\u0442\u043a\u043e \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043d\u0430\u0448\u0435\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b grid \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438 \u043f\u0440\u043e\u043a\u0441\u0438 \u0432 \u043d\u0430\u0448\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435.<\/p>\n<p>  \u041e\u0431\u044a\u0435\u043a\u0442 \u043f\u0440\u043e\u043a\u0441\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 CRUD-\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f ajax, rest \u0438\u043b\u0438 \u0436\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043d\u0430 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0438\u0434\u0435\u0440\u044b, \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 (\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435).<\/p>\n<p>  \u041c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c ajax \u043f\u0440\u043e\u043a\u0441\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 (autoLoad: true) \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c\u0443 url-\u0430\u0434\u0440\u0435\u0441\u0443 (\u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u043c GET), \u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0440\u0438\u0434\u0435\u0440 \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0438\u0437 json-\u0444\u043e\u0440\u043c\u0430\u0442\u0430. root: &#8216;data&#8217; \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0438\u0434\u0435\u0440\u0443 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0443\u0437\u0435\u043b \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u043c\u0435\u0435\u0442 \u043a\u043b\u044e\u0447 \u00abdata\u00bb.<\/p>\n<p>  \u0412\u0430\u0436\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442,- \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e grid \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043b\u0438\u0448\u044c 25 \u0441\u0442\u0440\u043e\u043a, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c, \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043d\u0430\u0448\u0435\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e pageSize, \u0432\u043e\u0442 \u0442\u0430\u043a:  <\/p>\n<pre> &lt;code&gt;     var store = Ext.create('Ext.data.Store', {         model: 'myModel',         pageSize: 50,         proxy: {             type: 'ajax',             url: '\/examples\/data\/data.json',             reader: {                 type: 'json',                 root: 'data'             }         },         autoLoad: true     }); &lt;\/code&gt; <\/pre>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u044e \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 grid \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e grid \u043e\u0431\u044a\u0435\u043a\u0442 <a href=\"http:\/\/docs.sencha.com\/ext-js\/4-1\/#!\/api\/Ext.toolbar.Paging\">Ext.PagingToolbar<\/a> \u0432 \u043a\u0430\u043a\u0443\u044e-\u043d\u0438\u0431\u0443\u0434\u044c \u00ab\u043f\u0430\u043d\u0435\u043b\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432\u00bb, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 <a href=\"http:\/\/docs.sencha.com\/ext-js\/4-1\/#!\/api\/Ext.panel.Panel-cfg-bbar\">bbar<\/a>:  <\/p>\n<pre> &lt;code&gt;     var grid = Ext.create('Ext.grid.Panel', {         store: store,         columns: [         {             text     : 'Company',             dataIndex: 'company'         },         {             text     : 'Price',             dataIndex: 'price'         },         {             text     : 'Change',             dataIndex: 'change'         },         {             text     : '% Change',             dataIndex: 'pctChange'         },         {             text     : 'Last Updated',             dataIndex: 'lastChange'         }         ],         height: 350,         width: 600,         title: '\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 grid',         renderTo: 'grid5',         bbar: Ext.create('Ext.PagingToolbar', {             store: store         })            }); &lt;\/code&gt; <\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u044f: <br \/>  <img decoding=\"async\" src=\"http:\/\/www.phpshnik.ru\/public\/photo\/images\/paging.jpg\" alt=\"image\"\/><br \/>  <a href=\"http:\/\/www.phpshnik.ru\/ext-js-4\/tablitsy-grids-v-ext-js-4\/paginatsiya-extpagingtoolbar-dlya-grid-v-ext-js-4#grid5\">Live demo<\/a><\/p>\n<p>  \u041e\u0431\u0440\u0430\u0449\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0432\u0441\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0442\u0430\u0431\u043b\u0438\u0446 Grid \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0443, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435. \u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u00abremoteSort: true\u00bb:<\/p>\n<pre> &lt;code&gt; Ext.onReady(function() {       Ext.define('myModel', {         extend: 'Ext.data.Model',         fields: ['company','price','change','pctChange','lastChange']     });              var store = Ext.create('Ext.data.Store', {         model: 'myModel',         proxy: {             type: 'ajax',             url: '\/examples\/data\/data.json',             reader: {                 type: 'json',                 root: 'data'             }         },         autoLoad: true,         remoteSort: true     });       var grid = Ext.create('Ext.grid.Panel', {         store: store,         columns: [         {             text     : 'Company',             dataIndex: 'company'         },         {             text     : 'Price',             dataIndex: 'price'         },         {             text     : 'Change',             dataIndex: 'change'         },         {             text     : '% Change',             dataIndex: 'pctChange'         },         {             text     : 'Last Updated',             dataIndex: 'lastChange'         }         ],         height: 350,         width: 600,         title: '\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 grid',         renderTo: 'grid6',         bbar: Ext.create('Ext.PagingToolbar', {             store: store         })            }); }); &lt;\/code&gt; <\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 firebug \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u0443:<br \/>  <img decoding=\"async\" src=\"http:\/\/www.phpshnik.ru\/public\/photo\/images\/5.jpg\" alt=\"image\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<h2>\u0424\u0438\u043b\u044c\u0442\u0440\u044b \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445 grid<\/h2>\n<p>  <\/p>\n<pre> &lt;code&gt; Ext.Loader.setPath('Ext.ux', '\/public\/ux'); Ext.require([     'Ext.ux.grid.FiltersFeature', ]);   Ext.onReady(function() {       Ext.define('myModel', {         extend: 'Ext.data.Model',         fields: ['company','price','change','pctChange','lastChange']     });              var store = Ext.create('Ext.data.Store', {         model: 'myModel',         proxy: {             type: 'ajax',                 url: '\/public\/examples\/data\/data.json',             reader: {                 type: 'json',                 root: 'data'             }         },         autoLoad: true,         remoteSort: true     });       var filters = {         ftype: 'filters',         encode: true,         local: false     };       var grid = Ext.create('Ext.grid.Panel', {         store: store,         features: [filters],                columns: [         {             text     : 'Company',             dataIndex: 'company',             filter: {                 type: 'string'             }                    },         {             text     : 'Price',             dataIndex: 'price',             filter: {                 type: 'int'             }                       },         {             text     : 'Change',             dataIndex: 'change',             filter: {                 type: 'float'             }                       },         {             text     : '% Change',             dataIndex: 'pctChange',             filter: {                 type: 'float'             }                       },         {             text     : 'Last Updated',             dataIndex: 'lastChange',             filter: {                 type: 'date'             }                       }         ],         height: 350,         width: 600,         title: '\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u043f\u043e\u043b\u0435\u0439 grid \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435',         renderTo: 'grid8',         bbar: Ext.create('Ext.PagingToolbar', {             store: store         })     }); }); &lt;\/code&gt; <\/pre>\n<p>  \u0412\u043f\u0435\u0440\u0432\u044b\u0435 \u0432 \u043a\u043e\u0434\u0435 \u043d\u0430\u0448\u0435\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b grid \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0437\u0430\u043f\u0438\u0441\u044c:  <\/p>\n<pre> &lt;code&gt; Ext.Loader.setPath('Ext.ux', '\/public\/ux'); Ext.require([     'Ext.ux.grid.FiltersFeature', ]); &lt;\/code&gt; <\/pre>\n<p>  \u042d\u0442\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 Ext JS \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u043b\u0430\u0441\u0441 Ext.ux.grid.FiltersFeature \u0438\u0437 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \/public\/ux\/grid, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 grid.<\/p>\n<p>  \u0415\u0449\u0435 \u043e\u0434\u043d\u043e \u043d\u043e\u0432\u0448\u0435\u0441\u0442\u0432\u043e,- \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 filters, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u043d\u0430\u0448\u0438\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432:  <\/p>\n<pre> &lt;code&gt; var filters = {     ftype: 'filters',     encode: true,     local: false };       &lt;\/code&gt; <\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 encode \u0438 local. \u041a\u0430\u043a \u0432\u044b, \u043d\u0430\u0432\u0435\u0440\u043e\u043d\u043e\u0435, \u0443\u0436\u0435 \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0438\u0441\u044c, \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e local: false \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0430 encode: true, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u0430 \u043d\u0435 \u0441\u0442\u0440\u043e\u043a\u0438-json.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430, \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u0445 \u0442\u0430\u0431\u043b\u0438\u0446\u044b: \u043a\u0430\u043a\u043e\u0439 \u0438\u043c\u0435\u043d\u043d\u043e \u0444\u0438\u043b\u044c\u0442\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043b\u043e\u043d\u043a\u0435:  <\/p>\n<pre> &lt;code&gt; filter: {     type: 'string' }     &lt;\/code&gt; <\/pre>\n<p>  \u0412 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0444\u0438\u043b\u044c\u0442\u0440\u044b: string, int, float \u0438 date,- \u0440\u0430\u0431\u043e\u0442\u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043a\u043b\u0438\u043a\u043d\u0443\u0432 \u043f\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0443 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435, \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 Filters<br \/>  \u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 onChange \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043e\u0431\u043d\u043e\u0432\u044f\u0442\u0441\u044f. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 firebug, \u043a\u0430\u043a Ext JS \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 ajax-\u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. <br \/>  <img decoding=\"async\" src=\"http:\/\/www.phpshnik.ru\/public\/photo\/images\/6.jpg\" alt=\"image\"\/><br \/>  <a href=\"http:\/\/www.phpshnik.ru\/ext-js-4\/tablitsy-grids-v-ext-js-4\/filtratsiya-v-tablitsakh-grid-v-ext-js-4#grid8\">Live demo (\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u0435, \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432,- \u0437\u0430\u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043b \u0444\u0440\u043e\u043d\u0442\u044d\u043d\u0434 \u0432 \u0445\u043b\u0430\u043c, \u0442.\u043a. \u0431\u043e\u044e\u0441\u044c \u0445\u0430\u0431\u0440\u0430\u044d\u0444\u0444\u0435\u043a\u0442\u0430)<\/a><\/p>\n<p>  \u0417\u0430\u0432\u0435\u0440\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044e, \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0443\u043a\u0440\u0430\u0441\u0438\u0442\u044c \u043d\u0430\u0448\u0443 \u0442\u0430\u0431\u043b\u0438\u0446\u0443.<\/p>\n<p>  \u0412\u043e \u043f\u0435\u0440\u0432\u044b\u0445 \u0443\u043a\u0430\u0436\u0435\u043c \u0442\u0438\u043f\u044b \u0434\u043b\u044f \u043f\u043e\u043b\u0435\u0439 \u0432 \u043c\u043e\u0434\u0435\u043b\u0438:  <\/p>\n<pre> &lt;code&gt; fields: [     {name: 'weight', type: 'int'},     {name: 'company', type: 'string'},     {name: 'price', type: 'float'},     {name: 'change', type: 'float'},     {name: 'pctChange', type: 'float'},     {name: 'lastChange', type: 'string'} ]  &lt;\/code&gt; <\/pre>\n<p>  \u0412\u043e \u0432\u0442\u043e\u0440\u044b\u0445 \u0445\u0432\u0430\u0442\u0438\u0442 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 GET&#8217;\u043e\u043c:  <\/p>\n<pre> &lt;code&gt; Ext.create('Ext.data.Store', {     pageSize: 10,     model: 'myModel',     proxy: {         type: 'ajax',         url: '\/examples\/data\/data2.json',         actionMethods: {             read: 'POST'         },                     reader: {             type: 'json',             root: 'data',             totalProperty: 'totalCount'         }     },     autoLoad: true,     remoteSort: true }); &lt;\/code&gt; <\/pre>\n<p>  \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0440\u0435\u0437\u0438\u043d\u043e\u0432\u044b\u043c\u0438:  <\/p>\n<pre> &lt;code&gt; {     text     : '% Change',     flex:1,     dataIndex: 'pctChange' }, &lt;\/code&gt; <\/pre>\n<p>  \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043d\u0435\u044f\u0432\u043d\u043e:  <\/p>\n<pre> &lt;code&gt; store: Ext.data.StoreManager.lookup('gridStore'), &lt;\/code&gt; <\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043b\u043e\u043d\u043a\u0438 grid,- \u043f\u0443\u0441\u0442\u044c \u043e\u043d \u043f\u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043d\u0430\u0438\u0432\u043d\u044b\u043c.  <\/p>\n<pre> &lt;code&gt; renderer: function(value){     if(value &gt; 75){         value = '&lt;span style=&quot;color:#ff0000;&quot;&gt;' + value + '&lt;\/span&gt;';     } else {         value = '&lt;span style=&quot;color:#00ff00;&quot;&gt;' + value + '&lt;\/span&gt;';     }     return value; } &lt;\/code&gt; <\/pre>\n<p>  \u0418 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a, \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u043e\u0431\u0449\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432 \u043d\u0430\u0448 \u043f\u0430\u0433\u0438\u043d\u0430\u0442\u043e\u0440:  <\/p>\n<pre> &lt;code&gt; bbar: Ext.create('Ext.PagingToolbar', {     store: store,     displayInfo: true,     displayMsg: 'Displaying topics {0} - {1} of {2}',     emptyMsg: &quot;No topics to display&quot; }) &lt;\/code&gt; <\/pre>\n<p>  (\u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431 \u043e\u0431\u0449\u0435\u043c \u043a\u043e\u043b\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u0432 json, \u043a\u0430\u043a \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0432 totalProperty \u0432 \u043d\u0430\u0448\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435).<\/p>\n<p>  \u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0432\u043e\u0435\u0434\u0438\u043d\u043e:  <\/p>\n<pre> &lt;code&gt; Ext.Loader.setPath('Ext.ux', '\/ux'); Ext.require([     'Ext.ux.grid.FiltersFeature', ]);  Ext.onReady(function() {      Ext.define('myModel', {         extend: 'Ext.data.Model',         fields: [             {name: 'weight', type: 'int'},             {name: 'company', type: 'string'},             {name: 'price', type: 'float'},             {name: 'change', type: 'float'},             {name: 'pctChange', type: 'float'},             {name: 'lastChange', type: 'string'}         ]     });              Ext.create('Ext.data.Store', {         pageSize: 10,         model: 'myModel',         proxy: {             type: 'ajax',             url: '\/examples\/data\/data2.json',             actionMethods: {                 read: 'POST'             },                         reader: {                 type: 'json',                 root: 'data',                 totalProperty: 'totalCount'             }         },         autoLoad: true,         remoteSort: true     });      var filters = {         ftype: 'filters',         encode: true,         local: false     };      var grid = Ext.create('Ext.grid.Panel', {         store: Ext.data.StoreManager.lookup('gridStore'),         features: [filters],                 columns: [         {             text     : 'Weight',             dataIndex: 'weight',             width: 50,             sortable: false,             filter: {                 type: 'int'             }                     },         {             text     : 'Company',             dataIndex: 'company',             flex:1,             filter: {                 type: 'string'             }                     },         {             text     : 'Price',             dataIndex: 'price',             flex:1,             renderer: function(value){                 if(value &gt; 75){                     value = '&lt;span style=&quot;color:#ff0000;&quot;&gt;' + value + '&lt;\/span&gt;';                 } else {                     value = '&lt;span style=&quot;color:#00ff00;&quot;&gt;' + value + '&lt;\/span&gt;';                 }                 return value;             }         },         {             text     : 'Change',             flex:1,             dataIndex: 'change'         },         {             text     : '% Change',             flex:1,             dataIndex: 'pctChange'         },         {             text     : 'Last Updated',             flex:1,             dataIndex: 'lastChange',             filter: {                 type: 'date'             }                        }         ],         height: 350,         width: 600,         title: '\u041d\u0430\u0432\u043e\u0434\u0438\u043c \u043a\u0440\u0430\u0441\u043e\u0442\u0443...',         renderTo: 'grid9',         bbar: Ext.create('Ext.PagingToolbar', {             store: store,             displayInfo: true,             displayMsg: 'Displaying topics {0} - {1} of {2}',             emptyMsg: &quot;No topics to display&quot;         })     }); }); &lt;\/code&gt; <\/pre>\n<p>  \u0438 \u0432\u0438\u0434\u0438\u043c \u043a\u0440\u0430\u0441\u0438\u0432\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 grid \u0441 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u043e\u0439 \u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u0435\u0439 \u0438 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u043c custom-renderer&#8217;\u043e\u043c: <br \/>  <img decoding=\"async\" src=\"http:\/\/www.phpshnik.ru\/public\/photo\/images\/8.jpg\" alt=\"image\"\/><\/p>\n<h2>\u041f\u043e\u0441\u043b\u0435\u0441\u043b\u043e\u0432\u0438\u0435.<\/h2>\n<p>  \u0423\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u0430\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438, \u043e\u0447\u0435\u043d\u044c \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u043d\u0430 \u0432\u0430\u0448\u0443 \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u044c,- \u044d\u0442\u043e \u043c\u043e\u044f \u043f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f. \u0423\u0432\u0430\u0436\u0430\u0435\u043c\u043e\u0435 \u041d\u041b\u041e,- \u043f\u0440\u043e\u0448\u0443 \u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0437\u0430 \u0440\u0435\u043f\u043e\u0441\u0442 \u043c\u043e\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0434\u043b\u044f \u0445\u0430\u0431\u0440\u0430, \u043d\u043e \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043a\u0438\u043d\u0443\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0434\u0435\u043c\u043e (\u0438 \u0435\u0449\u0435 \u043a\u043e\u0435-\u0447\u0442\u043e). \u041e \u043d\u0435\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044f\u0445, \u043a\u043e\u0441\u044f\u043a\u0430\u0445, \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f\u0445, \u043f\u0440\u043e\u0441\u044c\u0431\u0430\u0445 \u0438 \u0442.\u0434. \u043f\u0440\u043e\u0448\u0443 \u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043b\u0438\u0447\u043a\u0443. \u0415\u0441\u043b\u0438 \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043a\u043e\u0433\u043e-\u0442\u043e \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0430, \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043e Ext JS 4,- \u0432 \u043f\u043b\u0430\u043d\u0430\u0445 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e-\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043f\u043e Ext JS grid (\u043f\u043b\u0430\u0433\u0438\u043d\u044b. \u0448\u0430\u0431\u043b\u043e\u043d\u044b, \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u0441\u0432\u044f\u0437\u043a\u0430 \u0441 propertygrid, CRUD \u0438 \u0440\u0438\u0434\u0435\u0440\u044b&#8230;), \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0441\u0432\u0435\u0442\u0438\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0430\u0441\u043f\u0435\u043a\u0442\u044b \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 Ext JS 4. \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.   \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/169125\/\"> http:\/\/habrahabr.ru\/post\/169125\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c, \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u0430\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438.<\/p>\n<p>  \u0421 \u043d\u0435\u0434\u0430\u0432\u043d\u0438\u0445 \u043f\u043e\u0440 \u044f \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0441\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 \u043d\u0430 Ext JS 4 \u0438 Zend framework 2.<\/p>\n<p>  \u041f\u043e\u043b\u044c\u0437\u0443\u044f\u0441\u044c \u0441\u043b\u0443\u0447\u0430\u0435\u043c, \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0435\u0440\u0438\u044e \u0441\u0442\u0430\u0442\u0435\u0439, \u00ab\u043d\u0430 \u043f\u0430\u043b\u044c\u0446\u0430\u0445\u00bb \u043e\u0441\u0432\u0435\u0449\u0430\u044e\u0448\u0443\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b Ext JS 4, \u0431\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u043e\u0431\u043e\u0439\u0434\u0435\u0442\u0441\u044f \u043d\u0438 \u043e\u0434\u043d\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 Ext JS (\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u0435, \u0441\u0435\u0440\u0438\u044f,- \u0433\u0440\u043e\u043c\u043a\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043e,- \u043f\u0438\u0448\u0443 \u0438\u0437 \u043f\u0435\u0441\u043e\u0447\u043d\u0438\u0446\u044b). <\/p>\n<h1>\u0418\u0442\u0430\u043a, Grid, \u0447\u0430\u0441\u0442\u044c 1.<\/h1>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-169125","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/169125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=169125"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/169125\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=169125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=169125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=169125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}