{"action":"created","comment":{"url":"https://api.github.com/repos/qgrid/ng2/pulls/comments/177725033","pull_request_review_id":107647097,"id":177725033,"diff_hunk":"@@ -0,0 +1,37 @@\n+import {AfterViewInit, Component, HostListener, Input, OnInit, Optional} from '@angular/core';\n+import { RootService } from 'ng2-qgrid/infrastructure/component/root.service';\n+import { PluginComponent } from '../plugin.component';\n+import { Shortcut } from 'ng2-qgrid/core/shortcut/shortcut';\n+\n+@Component({\n+\tselector: 'q-grid-status-bar',\n+\ttemplateUrl: './status-bar.component.html'\n+})\n+export class StatusBarComponent extends PluginComponent {\n+\n+\tconstructor(@Optional() root: RootService) {\n+\t\tsuper(root);\n+\t}\n+\n+\tprivate rowIndex = 0;\n+\tprivate columnIndex = 0;\n+\n+\t@HostListener('document:mouseup', ['$event']) mouseUp(event) {\n+\t\tthis.cellLocation(event);\n+\t}\n+\n+\t@HostListener('document:keyup', ['$event']) keyUp(event) {\n+\t\tthis.cellLocation(event);\n+\t}\n+\n+\tcellLocation(e) {\n+\t\tconst isTableBody = e.currentTarget.activeElement.localName === 'tbody';","path":"src/plugins/status-bar/status-bar.component.ts","position":28,"original_position":28,"commit_id":"37efa14dc0f4615daf0682273cfd55ac0cd5fbcd","original_commit_id":"37efa14dc0f4615daf0682273cfd55ac0cd5fbcd","user":{"login":"klumba12","id":6254382,"avatar_url":"https://avatars0.githubusercontent.com/u/6254382?v=4","gravatar_id":"","url":"https://api.github.com/users/klumba12","html_url":"https://github.com/klumba12","followers_url":"https://api.github.com/users/klumba12/followers","following_url":"https://api.github.com/users/klumba12/following{/other_user}","gists_url":"https://api.github.com/users/klumba12/gists{/gist_id}","starred_url":"https://api.github.com/users/klumba12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klumba12/subscriptions","organizations_url":"https://api.github.com/users/klumba12/orgs","repos_url":"https://api.github.com/users/klumba12/repos","events_url":"https://api.github.com/users/klumba12/events{/privacy}","received_events_url":"https://api.github.com/users/klumba12/received_events","type":"User","site_admin":false},"body":"use `navigationChanged` event not mouse or key up","created_at":"2018-03-28T12:02:44Z","updated_at":"2018-03-28T12:03:30Z","html_url":"https://github.com/qgrid/ng2/pull/173#discussion_r177725033","pull_request_url":"https://api.github.com/repos/qgrid/ng2/pulls/173","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/qgrid/ng2/pulls/comments/177725033"},"html":{"href":"https://github.com/qgrid/ng2/pull/173#discussion_r177725033"},"pull_request":{"href":"https://api.github.com/repos/qgrid/ng2/pulls/173"}}},"pull_request":{"url":"https://api.github.com/repos/qgrid/ng2/pulls/173","id":177797149,"html_url":"https://github.com/qgrid/ng2/pull/173","diff_url":"https://github.com/qgrid/ng2/pull/173.diff","patch_url":"https://github.com/qgrid/ng2/pull/173.patch","issue_url":"https://api.github.com/repos/qgrid/ng2/issues/173","number":173,"state":"open","locked":false,"title":"Status-bar","user":{"login":"munkk","id":13670003,"avatar_url":"https://avatars0.githubusercontent.com/u/13670003?v=4","gravatar_id":"","url":"https://api.github.com/users/munkk","html_url":"https://github.com/munkk","followers_url":"https://api.github.com/users/munkk/followers","following_url":"https://api.github.com/users/munkk/following{/other_user}","gists_url":"https://api.github.com/users/munkk/gists{/gist_id}","starred_url":"https://api.github.com/users/munkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munkk/subscriptions","organizations_url":"https://api.github.com/users/munkk/orgs","repos_url":"https://api.github.com/users/munkk/repos","events_url":"https://api.github.com/users/munkk/events{/privacy}","received_events_url":"https://api.github.com/users/munkk/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-27T16:31:50Z","updated_at":"2018-03-28T12:03:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a8de8fe519155ecc121894668a1abceac6c1327","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/qgrid/ng2/pulls/173/commits","review_comments_url":"https://api.github.com/repos/qgrid/ng2/pulls/173/comments","review_comment_url":"https://api.github.com/repos/qgrid/ng2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qgrid/ng2/issues/173/comments","statuses_url":"https://api.github.com/repos/qgrid/ng2/statuses/37efa14dc0f4615daf0682273cfd55ac0cd5fbcd","head":{"label":"munkk:status_bar","ref":"status_bar","sha":"37efa14dc0f4615daf0682273cfd55ac0cd5fbcd","user":{"login":"munkk","id":13670003,"avatar_url":"https://avatars0.githubusercontent.com/u/13670003?v=4","gravatar_id":"","url":"https://api.github.com/users/munkk","html_url":"https://github.com/munkk","followers_url":"https://api.github.com/users/munkk/followers","following_url":"https://api.github.com/users/munkk/following{/other_user}","gists_url":"https://api.github.com/users/munkk/gists{/gist_id}","starred_url":"https://api.github.com/users/munkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munkk/subscriptions","organizations_url":"https://api.github.com/users/munkk/orgs","repos_url":"https://api.github.com/users/munkk/repos","events_url":"https://api.github.com/users/munkk/events{/privacy}","received_events_url":"https://api.github.com/users/munkk/received_events","type":"User","site_admin":false},"repo":{"id":109997103,"name":"ng2","full_name":"munkk/ng2","owner":{"login":"munkk","id":13670003,"avatar_url":"https://avatars0.githubusercontent.com/u/13670003?v=4","gravatar_id":"","url":"https://api.github.com/users/munkk","html_url":"https://github.com/munkk","followers_url":"https://api.github.com/users/munkk/followers","following_url":"https://api.github.com/users/munkk/following{/other_user}","gists_url":"https://api.github.com/users/munkk/gists{/gist_id}","starred_url":"https://api.github.com/users/munkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munkk/subscriptions","organizations_url":"https://api.github.com/users/munkk/orgs","repos_url":"https://api.github.com/users/munkk/repos","events_url":"https://api.github.com/users/munkk/events{/privacy}","received_events_url":"https://api.github.com/users/munkk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/munkk/ng2","description":"angular2 data grid","fork":true,"url":"https://api.github.com/repos/munkk/ng2","forks_url":"https://api.github.com/repos/munkk/ng2/forks","keys_url":"https://api.github.com/repos/munkk/ng2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/munkk/ng2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/munkk/ng2/teams","hooks_url":"https://api.github.com/repos/munkk/ng2/hooks","issue_events_url":"https://api.github.com/repos/munkk/ng2/issues/events{/number}","events_url":"https://api.github.com/repos/munkk/ng2/events","assignees_url":"https://api.github.com/repos/munkk/ng2/assignees{/user}","branches_url":"https://api.github.com/repos/munkk/ng2/branches{/branch}","tags_url":"https://api.github.com/repos/munkk/ng2/tags","blobs_url":"https://api.github.com/repos/munkk/ng2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/munkk/ng2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/munkk/ng2/git/refs{/sha}","trees_url":"https://api.github.com/repos/munkk/ng2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/munkk/ng2/statuses/{sha}","languages_url":"https://api.github.com/repos/munkk/ng2/languages","stargazers_url":"https://api.github.com/repos/munkk/ng2/stargazers","contributors_url":"https://api.github.com/repos/munkk/ng2/contributors","subscribers_url":"https://api.github.com/repos/munkk/ng2/subscribers","subscription_url":"https://api.github.com/repos/munkk/ng2/subscription","commits_url":"https://api.github.com/repos/munkk/ng2/commits{/sha}","git_commits_url":"https://api.github.com/repos/munkk/ng2/git/commits{/sha}","comments_url":"https://api.github.com/repos/munkk/ng2/comments{/number}","issue_comment_url":"https://api.github.com/repos/munkk/ng2/issues/comments{/number}","contents_url":"https://api.github.com/repos/munkk/ng2/contents/{+path}","compare_url":"https://api.github.com/repos/munkk/ng2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/munkk/ng2/merges","archive_url":"https://api.github.com/repos/munkk/ng2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/munkk/ng2/downloads","issues_url":"https://api.github.com/repos/munkk/ng2/issues{/number}","pulls_url":"https://api.github.com/repos/munkk/ng2/pulls{/number}","milestones_url":"https://api.github.com/repos/munkk/ng2/milestones{/number}","notifications_url":"https://api.github.com/repos/munkk/ng2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/munkk/ng2/labels{/name}","releases_url":"https://api.github.com/repos/munkk/ng2/releases{/id}","deployments_url":"https://api.github.com/repos/munkk/ng2/deployments","created_at":"2017-11-08T15:56:06Z","updated_at":"2018-03-22T15:20:16Z","pushed_at":"2018-03-27T17:41:22Z","git_url":"git://github.com/munkk/ng2.git","ssh_url":"git@github.com:munkk/ng2.git","clone_url":"https://github.com/munkk/ng2.git","svn_url":"https://github.com/munkk/ng2","homepage":null,"size":15833,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"qgrid:master","ref":"master","sha":"98460b15516634f75df76dc7c4899142d1162804","user":{"login":"qgrid","id":25244882,"avatar_url":"https://avatars0.githubusercontent.com/u/25244882?v=4","gravatar_id":"","url":"https://api.github.com/users/qgrid","html_url":"https://github.com/qgrid","followers_url":"https://api.github.com/users/qgrid/followers","following_url":"https://api.github.com/users/qgrid/following{/other_user}","gists_url":"https://api.github.com/users/qgrid/gists{/gist_id}","starred_url":"https://api.github.com/users/qgrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgrid/subscriptions","organizations_url":"https://api.github.com/users/qgrid/orgs","repos_url":"https://api.github.com/users/qgrid/repos","events_url":"https://api.github.com/users/qgrid/events{/privacy}","received_events_url":"https://api.github.com/users/qgrid/received_events","type":"User","site_admin":false},"repo":{"id":89697902,"name":"ng2","full_name":"qgrid/ng2","owner":{"login":"qgrid","id":25244882,"avatar_url":"https://avatars0.githubusercontent.com/u/25244882?v=4","gravatar_id":"","url":"https://api.github.com/users/qgrid","html_url":"https://github.com/qgrid","followers_url":"https://api.github.com/users/qgrid/followers","following_url":"https://api.github.com/users/qgrid/following{/other_user}","gists_url":"https://api.github.com/users/qgrid/gists{/gist_id}","starred_url":"https://api.github.com/users/qgrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgrid/subscriptions","organizations_url":"https://api.github.com/users/qgrid/orgs","repos_url":"https://api.github.com/users/qgrid/repos","events_url":"https://api.github.com/users/qgrid/events{/privacy}","received_events_url":"https://api.github.com/users/qgrid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qgrid/ng2","description":"angular2 data grid","fork":false,"url":"https://api.github.com/repos/qgrid/ng2","forks_url":"https://api.github.com/repos/qgrid/ng2/forks","keys_url":"https://api.github.com/repos/qgrid/ng2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qgrid/ng2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qgrid/ng2/teams","hooks_url":"https://api.github.com/repos/qgrid/ng2/hooks","issue_events_url":"https://api.github.com/repos/qgrid/ng2/issues/events{/number}","events_url":"https://api.github.com/repos/qgrid/ng2/events","assignees_url":"https://api.github.com/repos/qgrid/ng2/assignees{/user}","branches_url":"https://api.github.com/repos/qgrid/ng2/branches{/branch}","tags_url":"https://api.github.com/repos/qgrid/ng2/tags","blobs_url":"https://api.github.com/repos/qgrid/ng2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qgrid/ng2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qgrid/ng2/git/refs{/sha}","trees_url":"https://api.github.com/repos/qgrid/ng2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qgrid/ng2/statuses/{sha}","languages_url":"https://api.github.com/repos/qgrid/ng2/languages","stargazers_url":"https://api.github.com/repos/qgrid/ng2/stargazers","contributors_url":"https://api.github.com/repos/qgrid/ng2/contributors","subscribers_url":"https://api.github.com/repos/qgrid/ng2/subscribers","subscription_url":"https://api.github.com/repos/qgrid/ng2/subscription","commits_url":"https://api.github.com/repos/qgrid/ng2/commits{/sha}","git_commits_url":"https://api.github.com/repos/qgrid/ng2/git/commits{/sha}","comments_url":"https://api.github.com/repos/qgrid/ng2/comments{/number}","issue_comment_url":"https://api.github.com/repos/qgrid/ng2/issues/comments{/number}","contents_url":"https://api.github.com/repos/qgrid/ng2/contents/{+path}","compare_url":"https://api.github.com/repos/qgrid/ng2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qgrid/ng2/merges","archive_url":"https://api.github.com/repos/qgrid/ng2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qgrid/ng2/downloads","issues_url":"https://api.github.com/repos/qgrid/ng2/issues{/number}","pulls_url":"https://api.github.com/repos/qgrid/ng2/pulls{/number}","milestones_url":"https://api.github.com/repos/qgrid/ng2/milestones{/number}","notifications_url":"https://api.github.com/repos/qgrid/ng2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qgrid/ng2/labels{/name}","releases_url":"https://api.github.com/repos/qgrid/ng2/releases{/id}","deployments_url":"https://api.github.com/repos/qgrid/ng2/deployments","created_at":"2017-04-28T10:59:19Z","updated_at":"2018-03-23T19:53:01Z","pushed_at":"2018-03-27T17:41:23Z","git_url":"git://github.com/qgrid/ng2.git","ssh_url":"git@github.com:qgrid/ng2.git","clone_url":"https://github.com/qgrid/ng2.git","svn_url":"https://github.com/qgrid/ng2","homepage":null,"size":15863,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":5,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qgrid/ng2/pulls/173"},"html":{"href":"https://github.com/qgrid/ng2/pull/173"},"issue":{"href":"https://api.github.com/repos/qgrid/ng2/issues/173"},"comments":{"href":"https://api.github.com/repos/qgrid/ng2/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/qgrid/ng2/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/qgrid/ng2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qgrid/ng2/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/qgrid/ng2/statuses/37efa14dc0f4615daf0682273cfd55ac0cd5fbcd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"klumba12"}}