{"action":"created","issue":{"url":"https://api.github.com/repos/jakobmaier/jsGrid/issues/12","labels_url":"https://api.github.com/repos/jakobmaier/jsGrid/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/jakobmaier/jsGrid/issues/12/comments","events_url":"https://api.github.com/repos/jakobmaier/jsGrid/issues/12/events","html_url":"https://github.com/jakobmaier/jsGrid/issues/12","id":54861382,"number":12,"title":"Create table from Object (reverse of `toObject`)","user":{"login":"jakobmaier","id":5486786,"avatar_url":"https://avatars.githubusercontent.com/u/5486786?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobmaier","html_url":"https://github.com/jakobmaier","followers_url":"https://api.github.com/users/jakobmaier/followers","following_url":"https://api.github.com/users/jakobmaier/following{/other_user}","gists_url":"https://api.github.com/users/jakobmaier/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobmaier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobmaier/subscriptions","organizations_url":"https://api.github.com/users/jakobmaier/orgs","repos_url":"https://api.github.com/users/jakobmaier/repos","events_url":"https://api.github.com/users/jakobmaier/events{/privacy}","received_events_url":"https://api.github.com/users/jakobmaier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jakobmaier/jsGrid/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-20T09:37:00Z","updated_at":"2015-01-30T11:06:36Z","closed_at":"2015-01-30T11:05:19Z","body":"Creating a big table is currently very tedious.\r\nImplement a method to build a complete table out of an easy, human-readable object (might be converted from JSON).\r\n\r\nThe type of this object might be defined as `TableDescription`, `ColumnDescription`,...\r\n\r\nIf the table is then converted back to an object using `toObject`, the result must be reuseable to generate a new table without changing anything.\r\n\r\nAlready existing types and functions can be modified."},"comment":{"url":"https://api.github.com/repos/jakobmaier/jsGrid/issues/comments/72185822","html_url":"https://github.com/jakobmaier/jsGrid/issues/12#issuecomment-72185822","issue_url":"https://api.github.com/repos/jakobmaier/jsGrid/issues/12","id":72185822,"user":{"login":"jakobmaier","id":5486786,"avatar_url":"https://avatars.githubusercontent.com/u/5486786?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobmaier","html_url":"https://github.com/jakobmaier","followers_url":"https://api.github.com/users/jakobmaier/followers","following_url":"https://api.github.com/users/jakobmaier/following{/other_user}","gists_url":"https://api.github.com/users/jakobmaier/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobmaier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobmaier/subscriptions","organizations_url":"https://api.github.com/users/jakobmaier/orgs","repos_url":"https://api.github.com/users/jakobmaier/repos","events_url":"https://api.github.com/users/jakobmaier/events{/privacy}","received_events_url":"https://api.github.com/users/jakobmaier/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T11:06:36Z","updated_at":"2015-01-30T11:06:36Z","body":"Tables can now be inisialised with objects that look as follows:\r\n\r\n    {\r\n        columns: [ \r\n            {\r\n                id: \"\",\r\n                defaultTitleContent: <Cell>,\r\n                defaultBodyContent:  <Cell>,\r\n                ...\r\n            },\r\n            ...\r\n        ],\r\n        rows: [\r\n            {   id: \"\",\r\n                //OPTIONAL (only if data should be serialised too):\r\n                    content: {\r\n                        columnId: <Cell>,\r\n                        ...\r\n                    },\r\n                ...\r\n            },\r\n            ...\r\n        ],\r\n        titleRowCount: 1\r\n    }\r\n\r\n"}}