{"action":"created","issue":{"url":"https://api.github.com/repos/vitmalina/w2ui/issues/1030","labels_url":"https://api.github.com/repos/vitmalina/w2ui/issues/1030/labels{/name}","comments_url":"https://api.github.com/repos/vitmalina/w2ui/issues/1030/comments","events_url":"https://api.github.com/repos/vitmalina/w2ui/issues/1030/events","html_url":"https://github.com/vitmalina/w2ui/issues/1030","id":102987903,"number":1030,"title":"Read the column data in the grid","user":{"login":"ueoka","id":10072311,"avatar_url":"https://avatars.githubusercontent.com/u/10072311?v=3","gravatar_id":"","url":"https://api.github.com/users/ueoka","html_url":"https://github.com/ueoka","followers_url":"https://api.github.com/users/ueoka/followers","following_url":"https://api.github.com/users/ueoka/following{/other_user}","gists_url":"https://api.github.com/users/ueoka/gists{/gist_id}","starred_url":"https://api.github.com/users/ueoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ueoka/subscriptions","organizations_url":"https://api.github.com/users/ueoka/orgs","repos_url":"https://api.github.com/users/ueoka/repos","events_url":"https://api.github.com/users/ueoka/events{/privacy}","received_events_url":"https://api.github.com/users/ueoka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-25T09:36:43Z","updated_at":"2015-08-30T01:37:17Z","closed_at":"2015-08-30T01:37:17Z","body":"It was confirmed in the latest source of GitHub.\r\nThe download source, renamed to w2ui.1.4.x.js\r\nIn Ver1.3.2, it was confirmed to operate normally, but does not work with the latest source.\r\n\r\nWrite the source code that was tested in the sample below.\r\n\r\n<pre>\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"&gt;\r\n&lt;meta charset=UTF-8\" /&gt;\r\n&lt;meta name=\"robots\" content=\"noindex,nofollow\"&gt;\r\n&lt;link rel=\"stylesheet\" type=\"text/css\" href=\"js/w2ui.1.4.x.css\" /&gt;\r\n \r\n&lt;script type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js\"&gt;&lt;/script&gt;\r\n&lt;!--&lt;script type=\"text/javascript\" src=\"js/w2ui.1.4.x.js\"&gt;&lt;/script&gt;--&gt;\r\n&lt;script type=\"text/javascript\" src=\"js/w2ui-1.3.2.js\"&gt;&lt;/script&gt;\r\n&lt;script&gt;\r\n     \r\nvar main = {\r\n    layout: {\r\n        name: 'lmain',\r\n        panels: [\r\n            { type: 'top', content: 'top',resizable: true },\r\n            { type: 'left',  content: 'left', resizable: true },\r\n            { type: 'main', content: 'main', resizable: true }\r\n        ]\r\n    },\r\n    grid:{\r\n        name:'gmain',\r\n\t\tcolumns: [{}]\r\n    }\r\n};\r\n \r\n$(function () {\r\n    var wheight=$(window).height()-20;\r\n    $(\"#layout\").css(\"height\",wheight);\r\n    $('#layout').w2layout(main.layout);\r\n     \r\n    $().w2grid(main.grid);\r\n     \r\n    w2ui.lmain.content('main', w2ui.gmain);\r\n     \r\n\tw2ui.gmain.load('data/demo.json'); \r\n\t\r\n});\r\n \r\n&lt;/script&gt;\r\n&lt;/head&gt;\r\n&lt;body&gt;\r\n    &lt;div id=\"layout\"&gt;&lt;/div&gt;\r\n&lt;/body&gt;\r\n&lt;/html&gt;\r\n</pre>\r\n\r\n<h2>data/demo.json</h2>\r\n<pre>\r\n{\r\n    \"total\": 9,\r\n    \"columns\": [\r\n         { field: \"lname\", caption: \"Last Name\", size: \"30%\", sortable: true },\r\n         { field: \"fname\", caption: \"First Name\", size: \"30%\", sortable: true },\r\n         { field: \"email\", caption: \"Email\", size: \"40%\", sortable: true },\r\n         { field: \"sdate\", caption: \"Start Date\", size: \"120px\", sortable: true }\r\n     ],\r\n    \"records\": [\r\n        { \"recid\": 1, \"fname\": \"John\", \"lname\": \"Doe\", \"email\": \"jdoe@gmail.com\", \"sdate\": \"4/3/2012\" },\r\n        { \"recid\": 2, \"fname\": \"Stuart\", \"lname\": \"Motzart\", \"email\": \"jdoe@gmail.com\", \"sdate\": \"4/3/2012\" },\r\n        { \"recid\": 3, \"fname\": \"Jin\", \"lname\": \"Franson\", \"email\": \"jdoe@gmail.com\", \"sdate\": \"4/3/2012\" },\r\n        { \"recid\": 4, \"fname\": \"Susan\", \"lname\": \"Ottie\", \"email\": \"jdoe@gmail.com\", \"sdate\": \"4/3/2012\" },\r\n        { \"recid\": 5, \"fname\": \"Kelly\", \"lname\": \"Silver\", \"email\": \"jdoe@gmail.com\", \"sdate\": \"4/3/2012\" },\r\n        { \"recid\": 6, \"fname\": \"Francis\", \"lname\": \"Gatos\", \"email\": \"jdoe@gmail.com\", \"sdate\": \"4/3/2012\" },\r\n        { \"recid\": 7, \"fname\": \"Mark\", \"lname\": \"Welldo\", \"email\": \"jdoe@gmail.com\", \"sdate\": \"4/3/2012\" },\r\n        { \"recid\": 8, \"fname\": \"Thomas\", \"lname\": \"Bahh\", \"email\": \"jdoe@gmail.com\", \"sdate\": \"4/3/2012\" },\r\n        { \"recid\": 9, \"fname\": \"Sergei\", \"lname\": \"Rachmaninov\", \"email\": \"jdoe@gmail.com\", \"sdate\": \"4/3/2012\" }\r\n    ]\r\n}\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/vitmalina/w2ui/issues/comments/136070263","html_url":"https://github.com/vitmalina/w2ui/issues/1030#issuecomment-136070263","issue_url":"https://api.github.com/repos/vitmalina/w2ui/issues/1030","id":136070263,"user":{"login":"vitmalina","id":561995,"avatar_url":"https://avatars.githubusercontent.com/u/561995?v=3","gravatar_id":"","url":"https://api.github.com/users/vitmalina","html_url":"https://github.com/vitmalina","followers_url":"https://api.github.com/users/vitmalina/followers","following_url":"https://api.github.com/users/vitmalina/following{/other_user}","gists_url":"https://api.github.com/users/vitmalina/gists{/gist_id}","starred_url":"https://api.github.com/users/vitmalina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitmalina/subscriptions","organizations_url":"https://api.github.com/users/vitmalina/orgs","repos_url":"https://api.github.com/users/vitmalina/repos","events_url":"https://api.github.com/users/vitmalina/events{/privacy}","received_events_url":"https://api.github.com/users/vitmalina/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T01:37:17Z","updated_at":"2015-08-30T01:37:17Z","body":"Grid will no longer merge anything but records that returned from the server due to XSS vulnerability considerations. However, this desired behavior is not hard to implement. You can parse this requests manually and create columns on the fly."}}