{"action":"created","comment":{"url":"https://api.github.com/repos/glittershark/reactable/pulls/comments/44587086","id":44587086,"diff_hunk":"@@ -425,3 +425,24 @@ var table = React.render(\n \n These can be useful if you want to roll your own filtering input field\n outside of Reactable.\n+\n+### Empty Data Sets\n+\n+If the table is initialized without any `<Tr>`s or with an empty array for\n+`data`, it will display \"No data available in table\" text in the body","path":"README.md","position":8,"original_position":8,"commit_id":"b8b8081504e31149a198d89e4934dd9788ac7647","original_commit_id":"b8b8081504e31149a198d89e4934dd9788ac7647","user":{"login":"jasonblanchard","id":1238532,"avatar_url":"https://avatars.githubusercontent.com/u/1238532?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonblanchard","html_url":"https://github.com/jasonblanchard","followers_url":"https://api.github.com/users/jasonblanchard/followers","following_url":"https://api.github.com/users/jasonblanchard/following{/other_user}","gists_url":"https://api.github.com/users/jasonblanchard/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonblanchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonblanchard/subscriptions","organizations_url":"https://api.github.com/users/jasonblanchard/orgs","repos_url":"https://api.github.com/users/jasonblanchard/repos","events_url":"https://api.github.com/users/jasonblanchard/events{/privacy}","received_events_url":"https://api.github.com/users/jasonblanchard/received_events","type":"User","site_admin":false},"body":"As implemented, it will show the text from `defaultProps` for `noDataText`, although I don't feel strongly about that behavior and can remove it from default props.","created_at":"2015-11-11T21:14:31Z","updated_at":"2015-11-11T21:14:31Z","html_url":"https://github.com/glittershark/reactable/pull/205#discussion_r44587086","pull_request_url":"https://api.github.com/repos/glittershark/reactable/pulls/205","_links":{"self":{"href":"https://api.github.com/repos/glittershark/reactable/pulls/comments/44587086"},"html":{"href":"https://github.com/glittershark/reactable/pull/205#discussion_r44587086"},"pull_request":{"href":"https://api.github.com/repos/glittershark/reactable/pulls/205"}}},"pull_request":{"url":"https://api.github.com/repos/glittershark/reactable/pulls/205","id":50427658,"html_url":"https://github.com/glittershark/reactable/pull/205","diff_url":"https://github.com/glittershark/reactable/pull/205.diff","patch_url":"https://github.com/glittershark/reactable/pull/205.patch","issue_url":"https://api.github.com/repos/glittershark/reactable/issues/205","number":205,"state":"open","locked":false,"title":"Implement configurable text for table with no data","user":{"login":"jasonblanchard","id":1238532,"avatar_url":"https://avatars.githubusercontent.com/u/1238532?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonblanchard","html_url":"https://github.com/jasonblanchard","followers_url":"https://api.github.com/users/jasonblanchard/followers","following_url":"https://api.github.com/users/jasonblanchard/following{/other_user}","gists_url":"https://api.github.com/users/jasonblanchard/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonblanchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonblanchard/subscriptions","organizations_url":"https://api.github.com/users/jasonblanchard/orgs","repos_url":"https://api.github.com/users/jasonblanchard/repos","events_url":"https://api.github.com/users/jasonblanchard/events{/privacy}","received_events_url":"https://api.github.com/users/jasonblanchard/received_events","type":"User","site_admin":false},"body":"Adds a UX enhancement that shows text inside the table when there is no data to display. \r\n\r\nThis text is shown either if the table is initialized without any data or if the table is filterable and there are no matches with the current filter input text.\r\n\r\nThe content of the message is configurable with the `noDataText` prop and provides a default message in `defaultProps`.","created_at":"2015-11-11T19:50:38Z","updated_at":"2015-11-11T21:14:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c3296c0250f9f5d79379006492ca4721cf74fcb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/glittershark/reactable/pulls/205/commits","review_comments_url":"https://api.github.com/repos/glittershark/reactable/pulls/205/comments","review_comment_url":"https://api.github.com/repos/glittershark/reactable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/glittershark/reactable/issues/205/comments","statuses_url":"https://api.github.com/repos/glittershark/reactable/statuses/b8b8081504e31149a198d89e4934dd9788ac7647","head":{"label":"apprennet:add-no-data-text","ref":"add-no-data-text","sha":"b8b8081504e31149a198d89e4934dd9788ac7647","user":{"login":"apprennet","id":6934261,"avatar_url":"https://avatars.githubusercontent.com/u/6934261?v=3","gravatar_id":"","url":"https://api.github.com/users/apprennet","html_url":"https://github.com/apprennet","followers_url":"https://api.github.com/users/apprennet/followers","following_url":"https://api.github.com/users/apprennet/following{/other_user}","gists_url":"https://api.github.com/users/apprennet/gists{/gist_id}","starred_url":"https://api.github.com/users/apprennet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apprennet/subscriptions","organizations_url":"https://api.github.com/users/apprennet/orgs","repos_url":"https://api.github.com/users/apprennet/repos","events_url":"https://api.github.com/users/apprennet/events{/privacy}","received_events_url":"https://api.github.com/users/apprennet/received_events","type":"Organization","site_admin":false},"repo":{"id":44837820,"name":"reactable","full_name":"apprennet/reactable","owner":{"login":"apprennet","id":6934261,"avatar_url":"https://avatars.githubusercontent.com/u/6934261?v=3","gravatar_id":"","url":"https://api.github.com/users/apprennet","html_url":"https://github.com/apprennet","followers_url":"https://api.github.com/users/apprennet/followers","following_url":"https://api.github.com/users/apprennet/following{/other_user}","gists_url":"https://api.github.com/users/apprennet/gists{/gist_id}","starred_url":"https://api.github.com/users/apprennet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apprennet/subscriptions","organizations_url":"https://api.github.com/users/apprennet/orgs","repos_url":"https://api.github.com/users/apprennet/repos","events_url":"https://api.github.com/users/apprennet/events{/privacy}","received_events_url":"https://api.github.com/users/apprennet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apprennet/reactable","description":"Fast, flexible, and simple data tables in React","fork":true,"url":"https://api.github.com/repos/apprennet/reactable","forks_url":"https://api.github.com/repos/apprennet/reactable/forks","keys_url":"https://api.github.com/repos/apprennet/reactable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apprennet/reactable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apprennet/reactable/teams","hooks_url":"https://api.github.com/repos/apprennet/reactable/hooks","issue_events_url":"https://api.github.com/repos/apprennet/reactable/issues/events{/number}","events_url":"https://api.github.com/repos/apprennet/reactable/events","assignees_url":"https://api.github.com/repos/apprennet/reactable/assignees{/user}","branches_url":"https://api.github.com/repos/apprennet/reactable/branches{/branch}","tags_url":"https://api.github.com/repos/apprennet/reactable/tags","blobs_url":"https://api.github.com/repos/apprennet/reactable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apprennet/reactable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apprennet/reactable/git/refs{/sha}","trees_url":"https://api.github.com/repos/apprennet/reactable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apprennet/reactable/statuses/{sha}","languages_url":"https://api.github.com/repos/apprennet/reactable/languages","stargazers_url":"https://api.github.com/repos/apprennet/reactable/stargazers","contributors_url":"https://api.github.com/repos/apprennet/reactable/contributors","subscribers_url":"https://api.github.com/repos/apprennet/reactable/subscribers","subscription_url":"https://api.github.com/repos/apprennet/reactable/subscription","commits_url":"https://api.github.com/repos/apprennet/reactable/commits{/sha}","git_commits_url":"https://api.github.com/repos/apprennet/reactable/git/commits{/sha}","comments_url":"https://api.github.com/repos/apprennet/reactable/comments{/number}","issue_comment_url":"https://api.github.com/repos/apprennet/reactable/issues/comments{/number}","contents_url":"https://api.github.com/repos/apprennet/reactable/contents/{+path}","compare_url":"https://api.github.com/repos/apprennet/reactable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apprennet/reactable/merges","archive_url":"https://api.github.com/repos/apprennet/reactable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apprennet/reactable/downloads","issues_url":"https://api.github.com/repos/apprennet/reactable/issues{/number}","pulls_url":"https://api.github.com/repos/apprennet/reactable/pulls{/number}","milestones_url":"https://api.github.com/repos/apprennet/reactable/milestones{/number}","notifications_url":"https://api.github.com/repos/apprennet/reactable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apprennet/reactable/labels{/name}","releases_url":"https://api.github.com/repos/apprennet/reactable/releases{/id}","created_at":"2015-10-23T20:51:06Z","updated_at":"2015-10-23T20:51:07Z","pushed_at":"2015-11-11T21:08:26Z","git_url":"git://github.com/apprennet/reactable.git","ssh_url":"git@github.com:apprennet/reactable.git","clone_url":"https://github.com/apprennet/reactable.git","svn_url":"https://github.com/apprennet/reactable","homepage":"glittershark.github.io/reactable","size":2563,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"glittershark:master","ref":"master","sha":"64eb96ed71e1de7d0a24989afb66189fd49fe245","user":{"login":"glittershark","id":1481027,"avatar_url":"https://avatars.githubusercontent.com/u/1481027?v=3","gravatar_id":"","url":"https://api.github.com/users/glittershark","html_url":"https://github.com/glittershark","followers_url":"https://api.github.com/users/glittershark/followers","following_url":"https://api.github.com/users/glittershark/following{/other_user}","gists_url":"https://api.github.com/users/glittershark/gists{/gist_id}","starred_url":"https://api.github.com/users/glittershark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glittershark/subscriptions","organizations_url":"https://api.github.com/users/glittershark/orgs","repos_url":"https://api.github.com/users/glittershark/repos","events_url":"https://api.github.com/users/glittershark/events{/privacy}","received_events_url":"https://api.github.com/users/glittershark/received_events","type":"User","site_admin":false},"repo":{"id":18999697,"name":"reactable","full_name":"glittershark/reactable","owner":{"login":"glittershark","id":1481027,"avatar_url":"https://avatars.githubusercontent.com/u/1481027?v=3","gravatar_id":"","url":"https://api.github.com/users/glittershark","html_url":"https://github.com/glittershark","followers_url":"https://api.github.com/users/glittershark/followers","following_url":"https://api.github.com/users/glittershark/following{/other_user}","gists_url":"https://api.github.com/users/glittershark/gists{/gist_id}","starred_url":"https://api.github.com/users/glittershark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glittershark/subscriptions","organizations_url":"https://api.github.com/users/glittershark/orgs","repos_url":"https://api.github.com/users/glittershark/repos","events_url":"https://api.github.com/users/glittershark/events{/privacy}","received_events_url":"https://api.github.com/users/glittershark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/glittershark/reactable","description":"Fast, flexible, and simple data tables in React","fork":false,"url":"https://api.github.com/repos/glittershark/reactable","forks_url":"https://api.github.com/repos/glittershark/reactable/forks","keys_url":"https://api.github.com/repos/glittershark/reactable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glittershark/reactable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glittershark/reactable/teams","hooks_url":"https://api.github.com/repos/glittershark/reactable/hooks","issue_events_url":"https://api.github.com/repos/glittershark/reactable/issues/events{/number}","events_url":"https://api.github.com/repos/glittershark/reactable/events","assignees_url":"https://api.github.com/repos/glittershark/reactable/assignees{/user}","branches_url":"https://api.github.com/repos/glittershark/reactable/branches{/branch}","tags_url":"https://api.github.com/repos/glittershark/reactable/tags","blobs_url":"https://api.github.com/repos/glittershark/reactable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glittershark/reactable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glittershark/reactable/git/refs{/sha}","trees_url":"https://api.github.com/repos/glittershark/reactable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glittershark/reactable/statuses/{sha}","languages_url":"https://api.github.com/repos/glittershark/reactable/languages","stargazers_url":"https://api.github.com/repos/glittershark/reactable/stargazers","contributors_url":"https://api.github.com/repos/glittershark/reactable/contributors","subscribers_url":"https://api.github.com/repos/glittershark/reactable/subscribers","subscription_url":"https://api.github.com/repos/glittershark/reactable/subscription","commits_url":"https://api.github.com/repos/glittershark/reactable/commits{/sha}","git_commits_url":"https://api.github.com/repos/glittershark/reactable/git/commits{/sha}","comments_url":"https://api.github.com/repos/glittershark/reactable/comments{/number}","issue_comment_url":"https://api.github.com/repos/glittershark/reactable/issues/comments{/number}","contents_url":"https://api.github.com/repos/glittershark/reactable/contents/{+path}","compare_url":"https://api.github.com/repos/glittershark/reactable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glittershark/reactable/merges","archive_url":"https://api.github.com/repos/glittershark/reactable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glittershark/reactable/downloads","issues_url":"https://api.github.com/repos/glittershark/reactable/issues{/number}","pulls_url":"https://api.github.com/repos/glittershark/reactable/pulls{/number}","milestones_url":"https://api.github.com/repos/glittershark/reactable/milestones{/number}","notifications_url":"https://api.github.com/repos/glittershark/reactable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glittershark/reactable/labels{/name}","releases_url":"https://api.github.com/repos/glittershark/reactable/releases{/id}","created_at":"2014-04-21T17:02:37Z","updated_at":"2015-11-11T19:34:50Z","pushed_at":"2015-11-11T21:08:26Z","git_url":"git://github.com/glittershark/reactable.git","ssh_url":"git@github.com:glittershark/reactable.git","clone_url":"https://github.com/glittershark/reactable.git","svn_url":"https://github.com/glittershark/reactable","homepage":"glittershark.github.io/reactable","size":3600,"stargazers_count":641,"watchers_count":641,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":90,"mirror_url":null,"open_issues_count":30,"forks":90,"open_issues":30,"watchers":641,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/glittershark/reactable/pulls/205"},"html":{"href":"https://github.com/glittershark/reactable/pull/205"},"issue":{"href":"https://api.github.com/repos/glittershark/reactable/issues/205"},"comments":{"href":"https://api.github.com/repos/glittershark/reactable/issues/205/comments"},"review_comments":{"href":"https://api.github.com/repos/glittershark/reactable/pulls/205/comments"},"review_comment":{"href":"https://api.github.com/repos/glittershark/reactable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/glittershark/reactable/pulls/205/commits"},"statuses":{"href":"https://api.github.com/repos/glittershark/reactable/statuses/b8b8081504e31149a198d89e4934dd9788ac7647"}}}}