{"id":297905,"date":"2020-01-29T15:00:51","date_gmt":"2020-01-29T15:00:51","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=297905"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2020-01-29T15:00:51","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=297905","title":{"rendered":"JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 Webix \u0433\u043b\u0430\u0437\u0430\u043c\u0438 \u043d\u043e\u0432\u0438\u0447\u043a\u0430. \u0427\u0430\u0441\u0442\u044c 3. \u041c\u043e\u0434\u0443\u043b\u0438, \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b, \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b"},"content":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/486050\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wo\/hf\/8o\/wohf8or3yrvjs8t_gsas_zgwzjy.png\"><\/p>\n<p>  \u042f \u2014 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0439 front-end \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a. \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0443\u0447\u0443\u0441\u044c \u0438 \u0441\u0442\u0430\u0436\u0438\u0440\u0443\u044e\u0441\u044c \u0432 \u043e\u0434\u043d\u043e\u0439 \u043c\u0438\u043d\u0441\u043a\u043e\u0439 IT \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438. \u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0441\u043d\u043e\u0432 web-ui \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 JS \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <a href=\"https:\/\/webix.com\/\">Webix<\/a> \u0438 \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0432\u0438\u0434\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0443\u0447\u0435\u0431\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u043e\u0431\u0438\u044f \u043f\u043e \u044d\u0442\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 UI \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4><font color=\"#663375\">\u0422\u0440\u0435\u0442\u044c\u044f \u0437\u0430\u0434\u0430\u0447\u0430<\/font><\/h4>\n<p>  \u042f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Webix. \u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u044f \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043b\u0441\u044f \u043a\u0430\u043a <a href=\"https:\/\/habr.com\/ru\/post\/483558\/\">\u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441<\/a> \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043a\u0430\u043a <a href=\"https:\/\/habr.com\/ru\/post\/484310\/\">\u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 \u0444\u043e\u0440\u043c\u043e\u0439<\/a>. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438:<\/p>\n<ul>\n<li>\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u0438;<\/li>\n<li><a href=\"https:\/\/docs.webix.com\/desktop__multiview.html\">\u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/a> \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438;<\/li>\n<li>\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 <a href=\"https:\/\/docs.webix.com\/datatable__index.html\">\u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/a>;<\/li>\n<li>\u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0430 <a href=\"https:\/\/docs.webix.com\/desktop__list.html\">\u0441\u043f\u0438\u0441\u043a\u0430<\/a> \u0438 <a href=\"https:\/\/docs.webix.com\/desktop__chart.html\">\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b<\/a>;<\/li>\n<li>\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 <a href=\"https:\/\/docs.webix.com\/desktop__treetable.html\">\u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/a>.<\/li>\n<\/ul>\n<p>  \u0420\u0430\u0431\u043e\u0442\u0430 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 List \u0438 <a href=\"https:\/\/docs.webix.com\/api__refs__ui.layout.html\">Layout<\/a> \u0431\u044b\u043b\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445.<\/p>\n<p>  \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e <a href=\"https:\/\/github.com\/sashko-web\/webix\/tree\/master\/webix%20sourses%20for%203%20article\">\u0441\u0441\u044b\u043b\u043a\u0435<\/a>.<\/p>\n<p>  \u0421 \u0433\u043e\u0442\u043e\u0432\u044b\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f <a href=\"https:\/\/snippet.webix.com\/3hsddw9w\">\u0442\u0443\u0442<\/a>.<\/p>\n<h3>\u0428\u0430\u0433 1. \u0420\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u0438<\/h3>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0443\u0442\u0430\u043d\u0438\u0446\u044b \u0432 \u043a\u043e\u0434\u0435, \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u0434\u0435\u0436\u043d\u0435\u0435 \u0440\u0430\u0437\u0431\u0438\u0442\u044c \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0441\u043e\u0437\u0434\u0430\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u0438 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0443 \u0432 \u043d\u0438\u0445 \u043a\u043e\u0434 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432:<\/p>\n<ul>\n<li>header.js \u2014 \u0432\u0438\u0434\u0436\u0435\u0442 <i><a href=\"https:\/\/docs.webix.com\/desktop__toolbar.html\">Toolbar<\/a><\/i>;<\/li>\n<li>aside.js \u2014 \u0432\u0438\u0434\u0436\u0435\u0442 <i><a href=\"https:\/\/docs.webix.com\/desktop__list.html\">List<\/a><\/i>;<\/li>\n<li>table.js \u2014 \u0432\u0438\u0434\u0436\u0435\u0442 <i><a href=\"https:\/\/docs.webix.com\/datatable__index.html\">Datatable<\/a><\/i>;<\/li>\n<li>form.js \u2014 \u0432\u0438\u0434\u0436\u0435\u0442 <i><a href=\"https:\/\/docs.webix.com\/desktop__form.html\">Form<\/a><\/i>;<\/li>\n<li>footer.js \u2014 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c: \u201cThe software is &#8230;\u201d.<\/li>\n<\/ul>\n<p>  \u0412 \u043d\u043e\u0432\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0439 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439\u2026<\/p>\n<pre><code class=\"javascript\">const footer = {     height: 30,     template:&quot;The software is provided by &lt;a href='#'&gt;webix.com&lt;\/a&gt;. All rights reserved (c)&quot;,     css:&quot;bottom-link&quot; } <\/code><\/pre>\n<p>   \u0421\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 index.html \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435:<\/p>\n<pre><code class=\"xml\">&lt;body&gt;     &lt;script src=&quot;functions.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;users_module.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;products_module.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;data.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;header.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;table.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;form.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;aside.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;footer.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;script.js&quot;&gt;&lt;\/script&gt; &lt;\/body&gt; <\/code><\/pre>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 script.js, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u0439 \u043a\u043e\u0434 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<pre><code class=\"javascript\">webix.ui({     rows:[         header,         {             cols:[             aside, {view: &quot;resizer&quot;}, table, form             ]         },         footer     ] }); <\/code><\/pre>\n<p>  <\/p>\n<h3>\u0428\u0430\u0433 2. \u0412\u043a\u043b\u0430\u0434\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438<\/h3>\n<p>  \u0412 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043a\u043e\u0433\u0434\u0430 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442, \u043b\u0438\u0431\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u2014 \u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043a\u043b\u0430\u0434\u043a\u0438.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u0432\u043a\u043b\u0430\u0434\u043a\u0430\u043c\u0438 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c <a href=\"https:\/\/docs.webix.com\/desktop__multiview.html\">Multiview<\/a>. \u042d\u0442\u043e\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043e\u043a \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0443 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>  \u041c\u0443\u043b\u044c\u0442\u0438\u0432\u044c\u044e \u0441\u043e\u0437\u0434\u0430\u043c \u0432 \u0444\u0430\u0439\u043b\u0435 aside.js:<\/p>\n<pre><code class=\"javascript\">const multi = {     view: &quot;multiview&quot;,     cells:[         { id:&quot;dashboard&quot;, cols:[table, form ] },         { id:&quot;users&quot;, template:&quot;Users&quot; },         { id:&quot;products&quot;, template:&quot;Products&quot; }     ]    } <\/code><\/pre>\n<p>  \u0412 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 cells \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u043e\u0434 \u0432\u043a\u043b\u0430\u0434\u043e\u043a. \u041a\u0430\u0436\u0434\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c id, \u0447\u0442\u043e\u0431\u044b \u043a \u043d\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c. \u0421\u0435\u0439\u0447\u0430\u0441 Multiview \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u0440\u0438 \u0432\u043a\u043b\u0430\u0434\u043a\u0438, \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u044b, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043e \u044d\u0442\u043e\u0433\u043e, \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0438 \u0444\u043e\u0440\u043c\u0430.<\/p>\n<p>  \u0412 \u0444\u0430\u0439\u043b\u0435 script.js \u0432\u0438\u0434\u0436\u0435\u0442\u044b Table \u0438 Form \u044f \u0437\u0430\u043c\u0435\u043d\u044f\u044e \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u044c Multi.<\/p>\n<pre><code class=\"javascript\">webix.ui({     rows:[         header,         {             cols:[             aside, {view: &quot;resizer&quot;}, \/*table, form*\/multi             ]         },         footer     ] }); <\/code><\/pre>\n<p>  \u0420\u043e\u043b\u044c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f \u043c\u0435\u0436\u0434\u0443 \u0432\u043a\u043b\u0430\u0434\u043a\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0432\u0438\u0434\u0436\u0435\u0442 <a href=\"https:\/\/docs.webix.com\/api__refs__ui.list.html\">List<\/a>. \u041c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e \u043a\u043b\u0438\u043a\u0443 \u043d\u0430 \u0435\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b\u0430\u0441\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0430\u044f \u0432\u043a\u043b\u0430\u0434\u043a\u0430. <\/p>\n<p>  \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0440\u0430\u0431\u043e\u0442\u044b, \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c \u0432\u0438\u0434\u0436\u0435\u0442\u0430 <i>List<\/i> \u044f \u0437\u0430\u0434\u0430\u043c \u0442\u0435 \u0436\u0435 id, \u0447\u0442\u043e \u0438 \u0432\u043a\u043b\u0430\u0434\u043a\u0430\u043c \u043c\u0443\u043b\u044c\u0442\u0438\u0432\u044c\u044e.<\/p>\n<pre><code class=\"javascript\">const aside = {     view: &quot;list&quot;,     id:&quot;mylist&quot;,     scroll:false,     select:true,     width:200,     css:&quot;list_color&quot;,     data:[         {value:&quot;Dashboard&quot;, id:&quot;dashboard&quot;},         {value:&quot;Users&quot;, id:&quot;users&quot;},         {value:&quot;Products&quot;, id:&quot;products&quot;}     ],     on:{         onAfterSelect:function(id){              $$(id).show();         }     } } <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u043a\u043b\u0438\u043a\u0435 \u043d\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 <i>List<\/i> \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 <a href=\"https:\/\/docs.webix.com\/api__selectionmodel_onafterselect_event.html\">onAfterSelect<\/a>, \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c id \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043e\u0434\u043d\u043e\u0438\u043c\u0435\u043d\u043d\u0443\u044e \u0432\u043a\u043b\u0430\u0434\u043a\u0443, \u043e\u0431\u0440\u0430\u0449\u0430\u044f\u0441\u044c \u043a \u043d\u0435\u0439 \u043f\u043e id \u2014 \u043e\u043d\u0438, \u043a\u0430\u043a \u0432\u044b \u043f\u043e\u043c\u043d\u0438\u0442\u0435, \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442.<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hz\/jf\/xt\/hzjfxtq3hbelty_b9teys79ksmo.png\"><\/p>\n<blockquote><p>\u0412\u0430\u0436\u043d\u043e!<br \/>  \u0414\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u043c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c.  <\/p><\/blockquote>\n<p>  <\/p>\n<h3>\u0428\u0430\u0433 3. \u0412\u043a\u043b\u0430\u0434\u043a\u0430 \u201cDashboard\u201d \u2014 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/h3>\n<p>  \u0414\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0430, \u043f\u043e\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u0433\u0434\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043a\u043e\u043b\u043e\u043d\u043a\u0443, \u043b\u0438\u0431\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u0443\u044e, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0432\u0438\u0434\u0436\u0435\u0442\u0435 <i>Datatable<\/i> \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <i>autoConfig:true<\/i> \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432 <a href=\"https:\/\/docs.webix.com\/api__ui.datatable_columns_config.html\">columns<\/a> c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0438. <\/p>\n<pre><code class=\"javascript\">const table = {     view:&quot;datatable&quot;,      id:&quot;film_list&quot;,     scroll:&quot;y&quot;,     select:true,     url:&quot;data\/data.js&quot;,     hover:&quot;myhover&quot;,     columns:[         { id:&quot;rank&quot;, header:&quot;&quot;, width:50, css:&quot;rank&quot;},         { id:&quot;title&quot;, header:&quot;Film title&quot;, fillspace:true},         { id:&quot;year&quot;,  header:&quot;Released&quot;, width:100},         { id:&quot;votes&quot;, header:&quot;Votes&quot;, width:100},         { id:&quot;rating&quot;, header:&quot;Rating&quot;, width:100}     ] } <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 id \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u043f\u043e\u043b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0435;<\/li>\n<li>\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <i>header<\/i> \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435 \u2014 \u044d\u0442\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0442\u043e\u043b\u0431\u0446\u0430;<\/li>\n<li>\u0432\u0441\u0435\u043c \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c \u0437\u0430\u0434\u0430\u043d\u0430 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0448\u0438\u0440\u0438\u043d\u0430, \u043d\u043e \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0438\u0437 \u043d\u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e fillspace, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 title \u0437\u0430\u043d\u044f\u0442\u044c \u0432\u0441\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e.<\/li>\n<\/ul>\n<p>  \u0412 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 CSS \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438: \u0434\u043b\u044f \u0441\u0442\u0440\u043e\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d hover \u0430 \u043f\u0435\u0440\u0432\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d \u0444\u043e\u043d. \u0412\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u044b \u0432 \u0444\u0430\u0439\u043b\u0435 style.css \u0438 \u043d\u0443\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u043e\u0432. <\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043c\u043d\u0435 \u0434\u043b\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0443 \u0438\u0445 \u0438\u0437 data\/data.js \u0443\u043a\u0430\u0437\u0430\u0432 \u043a \u043d\u0435\u043c\u0443 \u043f\u0443\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <a href=\"https:\/\/docs.webix.com\/desktop__data_loading.html\">url<\/a>.<\/p>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/-w\/uj\/y-\/-wujy-6savfns1ds-mkdfcsaflc.png\"><\/p>\n<h3>\u0428\u0430\u0433 4. \u0412\u043a\u043b\u0430\u0434\u043a\u0430 \u201cUsers\u201d \u2014 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u0438 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b<\/h3>\n<p>  \u0412\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 \u044f \u0441\u043e\u0437\u0434\u0430\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0438 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435 Multiview \u044f \u0443\u043a\u0430\u0436\u0443 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u2014 \u201cusers\u201d.<\/p>\n<pre><code class=\"javascript\">const multi = {     view: &quot;multiview&quot;,     cells:[         { id:&quot;dashboard&quot;, cols:[table, form ] },         { id:&quot;users&quot;, rows:[users] },         { id:&quot;products&quot;, template:&quot;Products&quot; }     ]    } <\/code><\/pre>\n<p>   \u0414\u043b\u044f \u0441\u0430\u043c\u0438\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u044f \u0441\u043e\u0437\u0434\u0430\u043c \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b <i>users_module.js<\/i>. <\/p>\n<p>  <b>\u0421\u043f\u0438\u0441\u043e\u043a<\/b>. \u041f\u043e\u0434 \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0432\u0438\u0434\u0436\u0435\u0442 <i><a href=\"https:\/\/docs.webix.com\/api__refs__ui.list.html\">List<\/a><\/i>, \u0440\u0430\u043d\u0435\u0435 \u043e\u043d \u0431\u044b\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043c\u0435\u043d\u044e. \u0421\u0442\u0440\u043e\u043a\u0438 \u0441\u043f\u0438\u0441\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u0438\u0437 \u0438\u043c\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439 \u0441\u0442\u0440\u0430\u043d.<\/p>\n<p>  \u041a\u043e\u0434 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 List:<\/p>\n<pre><code class=\"javascript\">const users = {     rows:[         {             view: &quot;list&quot;,             id:&quot;user_list&quot;,             select:true,             url:&quot;data\/users.js&quot;,             template:&quot;#name# from #country#&quot;         },         {              template:&quot;Chart&quot;         }     ] } <\/code><\/pre>\n<p>  \u041c\u0430\u0441\u0441\u0438\u0432 rows \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0434\u043b\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043d\u0430 \u0434\u0432\u0435 \u0447\u0430\u0441\u0442\u0438. \u0412\u0442\u043e\u0440\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0430 \u0434\u043b\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<p>  \u0412 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 template, \u043c\u0435\u0436\u0434\u0443 \u0437\u043d\u0430\u043a\u0430\u043c\u0438 # \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u0435, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0438\u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 users.js.<\/p>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ra\/4o\/pc\/ra4opc4hv8kzxyr2a_gux5j0bam.png\"><\/p>\n<p>  <b>\u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430<\/b>. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0435 \u0442\u0438\u043f\u044b <a href=\"https:\/\/docs.webix.com\/desktop__chart_types.html\">\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c<\/a>: \u043b\u0438\u043d\u0438\u044f, \u043a\u0440\u0443\u0433, \u0440\u0430\u0434\u0430\u0440, \u043f\u043e\u043d\u0447\u0438\u043a, \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0438 \u043f\u0440. \u0412\u0441\u0435 \u043e\u043d\u0438 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u043c &quot;<a href=\"https:\/\/docs.webix.com\/api__refs__ui.chart.html\">chart<\/a>&quot;. \u0422\u043e \u043a\u0430\u043a \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <b>type<\/b>.<\/p>\n<p>  \u0417\u0430\u043c\u0435\u043d\u044f\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 <code>template:\u201dChart\u201d<\/code> \u043d\u0430 \u043a\u043e\u0434 \u0432\u0438\u0434\u0436\u0435\u0442\u0430:<\/p>\n<pre><code class=\"javascript\">const users = {     rows:[         {             view: &quot;list&quot;,             id:&quot;user_list&quot;,             select:true,             url:&quot;data\/users.js&quot;,             template:&quot;#name# from #country#&quot;         },         {             view:&quot;chart&quot;,             type:&quot;bar&quot;,             value:&quot;#age#&quot;,             url:&quot;data\/users.js&quot;,             xAxis:{                 template:&quot;#age#&quot;,                 title:&quot;Age&quot;             }         }     ] } <\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430<code> type: &quot;bar&quot;<\/code> \u0437\u0430\u0434\u0430\u0435\u0442 \u043b\u0438\u043d\u0435\u0439\u0447\u0430\u0442\u044b\u0439 \u0442\u0438\u043f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b;<\/li>\n<li>\u0432 value \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0438\u043c\u044f \u043f\u043e\u043b\u044f, \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043d\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432 `#&#8230;#`. \u042d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0432\u0438\u0434\u0436\u0435\u0442\u0430 Chart;<\/li>\n<li>\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 xAxis \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043a\u0430\u043a\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0430 \u043f\u043e\u0434 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u043f\u043e \u043e\u0441\u0438 X;<\/li>\n<li>template \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u0434 \u043b\u0438\u043d\u0438\u044f\u043c\u0438 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u0431\u0443\u0434\u0443 \u0446\u0438\u0444\u0440\u044b \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430;<\/li>\n<li>title \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b \u2014 <code>&quot;Age&quot;<\/code>.<\/li>\n<\/ul>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438 \u0441\u043f\u0438\u0441\u043a\u0430 \u0438 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/_v\/hl\/u1\/_vhlu1bsezwyep9msuxg9vnqmkc.png\"><\/p>\n<h3>\u0428\u0430\u0433 5. \u0412\u043a\u043b\u0430\u0434\u043a\u0430 \u201cProducts\u201d \u2014 \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430<\/h3>\n<p>  \u0414\u043b\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u044f \u0441\u043e\u0437\u0434\u0430\u043c \u0444\u0430\u0439\u043b <i>products_module.js<\/i>, \u0430 \u0432 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 Multiview \u0443\u043a\u0430\u0436\u0443 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u201cproducts\u201d.<\/p>\n<pre><code class=\"javascript\">const multi = {     view: &quot;multiview&quot;,     cells:[         { id:&quot;dashboard&quot;, cols:[table, form ] },         { id:&quot;users&quot;, rows:[users] },         { id:&quot;products&quot;, rows:[products] }     ]    } <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432\u0438\u0434\u0436\u0435\u0442 <a href=\"https:\/\/docs.webix.com\/desktop__treetable.html\">Treetable<\/a>. \u041e\u0434\u043d\u0430 \u0438\u0437 \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u2014 <a href=\"https:\/\/docs.webix.com\/datatree__node_templates.html\">{common.treetable()}<\/a>, \u0438\u043d\u0430\u0447\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0432\u043c\u0435\u0441\u0442\u043e \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u043e\u0439. \u0428\u0430\u0431\u043b\u043e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b:<\/p>\n<ul>\n<li>\u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0438\u043a\u043e\u043d\u043a\u0443 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u0432\u0435\u0440\u043d\u0443\u0442\u044c\/\u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438;<\/li>\n<li>\u0438\u043a\u043e\u043d\u043a\u0438 \u201c\u0444\u0430\u0439\u043b\/\u043f\u0430\u043f\u043a\u0430\u201d;<\/li>\n<li>\u043e\u0442\u0441\u0442\u0443\u043f\u044b \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0443\u0440\u043e\u0432\u043d\u044f \u0437\u0430\u043f\u0438\u0441\u0435\u0439.<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"javascript\">const products = {     view:&quot;treetable&quot;,     scrollX:false,     columns:[         { id:&quot;id&quot;, header:&quot;&quot;, width:50 },         { id:&quot;value&quot;, header:&quot;Title&quot;, fillspace:true,             template:&quot;{common.treetable()} #title#&quot; },         { id:&quot;price&quot;, header:&quot;Price&quot;, width:200 }     ],     select:&quot;row&quot;,     url:&quot;data\/products.js&quot; } <\/code><\/pre>\n<p>  \u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 treetable \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u043f\u043e\u043b\u0443\u0447\u0443 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 products.js. <\/p>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/iz\/u2\/pw\/izu2pwebkx5tnjjbkgljh27dghi.png\"><\/p>\n<p>  \u0421 \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u043c\u0441\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f <a href=\"https:\/\/snippet.webix.com\/wfx663tz\">\u0442\u0443\u0442<\/a>.<\/p>\n<h3>\u041e\u0431\u043e\u0431\u0449\u0435\u043d\u0438\u0435<\/h3>\n<p>  \u0428\u0430\u0433 \u0437\u0430 \u0448\u0430\u0433\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438. \u0412\u0430\u0436\u043d\u043e\u0439 \u0441\u0442\u0430\u0434\u0438\u0435\u0439 \u0431\u044b\u043b\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u0438. \u0420\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0443\u0442\u0430\u043d\u0438\u0446\u044b \u0432 \u043a\u043e\u0434\u0435 \u0438 \u043f\u043e\u043c\u043e\u0433\u043b\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0443\u043b\u044c\u0442\u0438\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u0431\u044b\u043b\u043e \u043e\u0441\u0432\u043e\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 Webix \u0432 \u0432\u0438\u0434\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c \u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432 \u0442\u0430\u0431\u043b\u0438\u0446. \u0412\u0441\u0451 \u0442\u0430\u043a\u0436\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u0432\u0441\u0451 \u0442\u0430\u043a\u0436\u0435 \u0433\u0430\u0440\u043c\u043e\u043d\u0438\u0447\u043d\u043e.<\/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=\"https:\/\/habr.com\/ru\/post\/486050\/\"> https:\/\/habr.com\/ru\/post\/486050\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/486050\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wo\/hf\/8o\/wohf8or3yrvjs8t_gsas_zgwzjy.png\"><\/p>\n<p>  \u042f \u2014 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0439 front-end \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a. \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0443\u0447\u0443\u0441\u044c \u0438 \u0441\u0442\u0430\u0436\u0438\u0440\u0443\u044e\u0441\u044c \u0432 \u043e\u0434\u043d\u043e\u0439 \u043c\u0438\u043d\u0441\u043a\u043e\u0439 IT \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438. \u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0441\u043d\u043e\u0432 web-ui \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 JS \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <a href=\"https:\/\/webix.com\/\">Webix<\/a> \u0438 \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0432\u0438\u0434\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0443\u0447\u0435\u0431\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u043e\u0431\u0438\u044f \u043f\u043e \u044d\u0442\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 UI \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.  <\/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-297905","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/297905","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=297905"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/297905\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=297905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=297905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=297905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}