{"action":"created","issue":{"url":"https://api.github.com/repos/reactabular/reactabular/issues/253","repository_url":"https://api.github.com/repos/reactabular/reactabular","labels_url":"https://api.github.com/repos/reactabular/reactabular/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/reactabular/reactabular/issues/253/comments","events_url":"https://api.github.com/repos/reactabular/reactabular/issues/253/events","html_url":"https://github.com/reactabular/reactabular/issues/253","id":194146941,"number":253,"title":"Columns off by 1 for examples it seems","user":{"login":"Souvent22","id":253601,"avatar_url":"https://avatars.githubusercontent.com/u/253601?v=3","gravatar_id":"","url":"https://api.github.com/users/Souvent22","html_url":"https://github.com/Souvent22","followers_url":"https://api.github.com/users/Souvent22/followers","following_url":"https://api.github.com/users/Souvent22/following{/other_user}","gists_url":"https://api.github.com/users/Souvent22/gists{/gist_id}","starred_url":"https://api.github.com/users/Souvent22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Souvent22/subscriptions","organizations_url":"https://api.github.com/users/Souvent22/orgs","repos_url":"https://api.github.com/users/Souvent22/repos","events_url":"https://api.github.com/users/Souvent22/events{/privacy}","received_events_url":"https://api.github.com/users/Souvent22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-07T19:37:38Z","updated_at":"2016-12-07T19:54:04Z","closed_at":null,"body":"I'm having some issues with the simple examples. \r\n\r\nTake the example outlined here: \r\n\r\nhttps://github.com/reactabular/reactabular/tree/master/packages/reactabular-table  \r\n\r\nWhen I use that example, the table header renders fine, however none of the rows render. Specifically, there are X rows for the X pieces of data, so that matches, but all rows are empty. \r\nThe only way I can get around this is by adding: \r\n```javascript\r\ncell: {\r\n  property: 'name'\r\n}\r\n```\r\nTo each header item. \r\n\r\nHowever, even after doing this, the table is off by one. Meaning, there is 1 empty vertical column, and then the name shows up under the empty header, and the `Dad` shows up under name, with 1 column just hanging with nothing. I have attached a screen shot to demonstrate what I mean.\r\n![image](https://cloud.githubusercontent.com/assets/253601/20983428/6cdb66f4-bc8a-11e6-90be-081c798024fb.png) \r\n\r\nThe code that's producing this is:\r\n```javascript\r\n  getTableListing() {\r\n    const rows = [\r\n      {\r\n        id: 100,\r\n        name: 'Adam',\r\n        dad: 'John',\r\n        lovesBeeGees: true\r\n      },\r\n      {\r\n        id: 101,\r\n        name: 'Brian',\r\n        dad: 'George',\r\n        lovesBeeGees: false\r\n      }\r\n    ];\r\n\r\n    const columns = [\r\n      {},\r\n      {\r\n        property: 'name',\r\n        header: {\r\n          label: 'Name'\r\n        },\r\n        cell: {\r\n          property: 'name'\r\n        }\r\n      },\r\n      {\r\n        property: 'dad',\r\n        header: {\r\n          label: 'Dad'\r\n        },\r\n        cell: {\r\n          property: 'dad'\r\n        }\r\n      }\r\n    ];\r\n    return (\r\n      <div className=\"section-panel\">\r\n        <Table.Provider\r\n          className=\"pure-table pure-table-striped\"\r\n          columns={ columns }\r\n        >\r\n          <Table.Header />\r\n\r\n          <Table.Body rows={ rows } rowKey=\"name\" />\r\n        </Table.Provider>\r\n      </div>\r\n    );\r\n  }\r\n```\r\n\r\nDoes anyone have any thoughts?"},"comment":{"url":"https://api.github.com/repos/reactabular/reactabular/issues/comments/265554799","html_url":"https://github.com/reactabular/reactabular/issues/253#issuecomment-265554799","issue_url":"https://api.github.com/repos/reactabular/reactabular/issues/253","id":265554799,"user":{"login":"Souvent22","id":253601,"avatar_url":"https://avatars.githubusercontent.com/u/253601?v=3","gravatar_id":"","url":"https://api.github.com/users/Souvent22","html_url":"https://github.com/Souvent22","followers_url":"https://api.github.com/users/Souvent22/followers","following_url":"https://api.github.com/users/Souvent22/following{/other_user}","gists_url":"https://api.github.com/users/Souvent22/gists{/gist_id}","starred_url":"https://api.github.com/users/Souvent22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Souvent22/subscriptions","organizations_url":"https://api.github.com/users/Souvent22/orgs","repos_url":"https://api.github.com/users/Souvent22/repos","events_url":"https://api.github.com/users/Souvent22/events{/privacy}","received_events_url":"https://api.github.com/users/Souvent22/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T19:54:03Z","updated_at":"2016-12-07T19:54:03Z","body":"When I remove that though, it's still off by one...let me get a screen shot of it. I'll get one in a second...looking into the source real quick to see if I can trace what's happening.\r\n"}}
{"actor":{"display_login":"Souvent22"}}