{"action":"closed","issue":{"url":"https://api.github.com/repos/matfish2/vue-tables/issues/22","repository_url":"https://api.github.com/repos/matfish2/vue-tables","labels_url":"https://api.github.com/repos/matfish2/vue-tables/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/matfish2/vue-tables/issues/22/comments","events_url":"https://api.github.com/repos/matfish2/vue-tables/issues/22/events","html_url":"https://github.com/matfish2/vue-tables/issues/22","id":142618316,"number":22,"title":"Table inside component","user":{"login":"nikhil-pandey","id":3397134,"avatar_url":"https://avatars.githubusercontent.com/u/3397134?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhil-pandey","html_url":"https://github.com/nikhil-pandey","followers_url":"https://api.github.com/users/nikhil-pandey/followers","following_url":"https://api.github.com/users/nikhil-pandey/following{/other_user}","gists_url":"https://api.github.com/users/nikhil-pandey/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhil-pandey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhil-pandey/subscriptions","organizations_url":"https://api.github.com/users/nikhil-pandey/orgs","repos_url":"https://api.github.com/users/nikhil-pandey/repos","events_url":"https://api.github.com/users/nikhil-pandey/events{/privacy}","received_events_url":"https://api.github.com/users/nikhil-pandey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-22T11:11:14Z","updated_at":"2016-03-22T16:57:29Z","closed_at":"2016-03-22T16:57:29Z","body":"How do i use it inside a component? Can't figure out a way.\r\nI get the following error in my console:\r\n```js\r\nUncaught TypeError: Cannot read property '0' of undefined\r\n```\r\nAt line 45 of lib/v-client-table.js\r\n```js\r\n...\r\nthis.allColumns = object_keys(this.data[0]);\r\n...\r\n```\r\n"}}