{"action":"opened","number":391,"pull_request":{"url":"https://api.github.com/repos/kartik-v/yii2-grid/pulls/391","id":48630876,"html_url":"https://github.com/kartik-v/yii2-grid/pull/391","diff_url":"https://github.com/kartik-v/yii2-grid/pull/391.diff","patch_url":"https://github.com/kartik-v/yii2-grid/pull/391.patch","issue_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/391","number":391,"state":"open","locked":false,"title":"Confirmation dialog for show all and hide maxCount","user":{"login":"derekisbusy","id":5118781,"avatar_url":"https://avatars.githubusercontent.com/u/5118781?v=3","gravatar_id":"","url":"https://api.github.com/users/derekisbusy","html_url":"https://github.com/derekisbusy","followers_url":"https://api.github.com/users/derekisbusy/followers","following_url":"https://api.github.com/users/derekisbusy/following{/other_user}","gists_url":"https://api.github.com/users/derekisbusy/gists{/gist_id}","starred_url":"https://api.github.com/users/derekisbusy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekisbusy/subscriptions","organizations_url":"https://api.github.com/users/derekisbusy/orgs","repos_url":"https://api.github.com/users/derekisbusy/repos","events_url":"https://api.github.com/users/derekisbusy/events{/privacy}","received_events_url":"https://api.github.com/users/derekisbusy/received_events","type":"User","site_admin":false},"body":"Added option to automatically add confirmation dialog if has more than confirm minCount.\r\nAdded toggle data option 'maxCount' to hide the toggle button if there are more than maxCount.\r\n\r\nNew toggle data options...\r\n\r\n```php\r\n[\r\n    'maxCount' => 10000, // hide toggle button if more than 10000 rows\r\n//    'confirm' => true, // always ask for confirmation\r\n    'confirm' => [\r\n        'minCount' => 1000 // Ask for confirmation if more than 1000\r\n    ]\r\n    'all' => [\r\n        'icon' => 'resize-full',\r\n        'label' => Yii::t('kvgrid', 'All'),\r\n        'class' => 'btn btn-default',\r\n        'title' => 'Show all data'\r\n    ],\r\n    'page' => [\r\n        'icon' => 'resize-small',\r\n        'label' => Yii::t('kvgrid', 'Page'),\r\n        'class' => 'btn btn-default',\r\n        'title' => 'Show first page data'\r\n    ],\r\n]\r\n```","created_at":"2015-10-23T21:13:32Z","updated_at":"2015-10-23T21:13:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kartik-v/yii2-grid/pulls/391/commits","review_comments_url":"https://api.github.com/repos/kartik-v/yii2-grid/pulls/391/comments","review_comment_url":"https://api.github.com/repos/kartik-v/yii2-grid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/391/comments","statuses_url":"https://api.github.com/repos/kartik-v/yii2-grid/statuses/36b06e186a0c00963c9b734a24e543d840aad385","head":{"label":"derekisbusy:master","ref":"master","sha":"36b06e186a0c00963c9b734a24e543d840aad385","user":{"login":"derekisbusy","id":5118781,"avatar_url":"https://avatars.githubusercontent.com/u/5118781?v=3","gravatar_id":"","url":"https://api.github.com/users/derekisbusy","html_url":"https://github.com/derekisbusy","followers_url":"https://api.github.com/users/derekisbusy/followers","following_url":"https://api.github.com/users/derekisbusy/following{/other_user}","gists_url":"https://api.github.com/users/derekisbusy/gists{/gist_id}","starred_url":"https://api.github.com/users/derekisbusy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekisbusy/subscriptions","organizations_url":"https://api.github.com/users/derekisbusy/orgs","repos_url":"https://api.github.com/users/derekisbusy/repos","events_url":"https://api.github.com/users/derekisbusy/events{/privacy}","received_events_url":"https://api.github.com/users/derekisbusy/received_events","type":"User","site_admin":false},"repo":{"id":40794362,"name":"yii2-grid","full_name":"derekisbusy/yii2-grid","owner":{"login":"derekisbusy","id":5118781,"avatar_url":"https://avatars.githubusercontent.com/u/5118781?v=3","gravatar_id":"","url":"https://api.github.com/users/derekisbusy","html_url":"https://github.com/derekisbusy","followers_url":"https://api.github.com/users/derekisbusy/followers","following_url":"https://api.github.com/users/derekisbusy/following{/other_user}","gists_url":"https://api.github.com/users/derekisbusy/gists{/gist_id}","starred_url":"https://api.github.com/users/derekisbusy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekisbusy/subscriptions","organizations_url":"https://api.github.com/users/derekisbusy/orgs","repos_url":"https://api.github.com/users/derekisbusy/repos","events_url":"https://api.github.com/users/derekisbusy/events{/privacy}","received_events_url":"https://api.github.com/users/derekisbusy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/derekisbusy/yii2-grid","description":"GridView enhancements and utilities for Yii Framework 2.0","fork":true,"url":"https://api.github.com/repos/derekisbusy/yii2-grid","forks_url":"https://api.github.com/repos/derekisbusy/yii2-grid/forks","keys_url":"https://api.github.com/repos/derekisbusy/yii2-grid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/derekisbusy/yii2-grid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/derekisbusy/yii2-grid/teams","hooks_url":"https://api.github.com/repos/derekisbusy/yii2-grid/hooks","issue_events_url":"https://api.github.com/repos/derekisbusy/yii2-grid/issues/events{/number}","events_url":"https://api.github.com/repos/derekisbusy/yii2-grid/events","assignees_url":"https://api.github.com/repos/derekisbusy/yii2-grid/assignees{/user}","branches_url":"https://api.github.com/repos/derekisbusy/yii2-grid/branches{/branch}","tags_url":"https://api.github.com/repos/derekisbusy/yii2-grid/tags","blobs_url":"https://api.github.com/repos/derekisbusy/yii2-grid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/derekisbusy/yii2-grid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/derekisbusy/yii2-grid/git/refs{/sha}","trees_url":"https://api.github.com/repos/derekisbusy/yii2-grid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/derekisbusy/yii2-grid/statuses/{sha}","languages_url":"https://api.github.com/repos/derekisbusy/yii2-grid/languages","stargazers_url":"https://api.github.com/repos/derekisbusy/yii2-grid/stargazers","contributors_url":"https://api.github.com/repos/derekisbusy/yii2-grid/contributors","subscribers_url":"https://api.github.com/repos/derekisbusy/yii2-grid/subscribers","subscription_url":"https://api.github.com/repos/derekisbusy/yii2-grid/subscription","commits_url":"https://api.github.com/repos/derekisbusy/yii2-grid/commits{/sha}","git_commits_url":"https://api.github.com/repos/derekisbusy/yii2-grid/git/commits{/sha}","comments_url":"https://api.github.com/repos/derekisbusy/yii2-grid/comments{/number}","issue_comment_url":"https://api.github.com/repos/derekisbusy/yii2-grid/issues/comments{/number}","contents_url":"https://api.github.com/repos/derekisbusy/yii2-grid/contents/{+path}","compare_url":"https://api.github.com/repos/derekisbusy/yii2-grid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/derekisbusy/yii2-grid/merges","archive_url":"https://api.github.com/repos/derekisbusy/yii2-grid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/derekisbusy/yii2-grid/downloads","issues_url":"https://api.github.com/repos/derekisbusy/yii2-grid/issues{/number}","pulls_url":"https://api.github.com/repos/derekisbusy/yii2-grid/pulls{/number}","milestones_url":"https://api.github.com/repos/derekisbusy/yii2-grid/milestones{/number}","notifications_url":"https://api.github.com/repos/derekisbusy/yii2-grid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/derekisbusy/yii2-grid/labels{/name}","releases_url":"https://api.github.com/repos/derekisbusy/yii2-grid/releases{/id}","created_at":"2015-08-16T00:52:10Z","updated_at":"2015-08-16T00:52:13Z","pushed_at":"2015-10-23T21:04:36Z","git_url":"git://github.com/derekisbusy/yii2-grid.git","ssh_url":"git@github.com:derekisbusy/yii2-grid.git","clone_url":"https://github.com/derekisbusy/yii2-grid.git","svn_url":"https://github.com/derekisbusy/yii2-grid","homepage":"http://demos.krajee.com/grid","size":1205,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kartik-v:master","ref":"master","sha":"2772fe8f267719b87dc19103a5d59519f0c75c94","user":{"login":"kartik-v","id":3592619,"avatar_url":"https://avatars.githubusercontent.com/u/3592619?v=3","gravatar_id":"","url":"https://api.github.com/users/kartik-v","html_url":"https://github.com/kartik-v","followers_url":"https://api.github.com/users/kartik-v/followers","following_url":"https://api.github.com/users/kartik-v/following{/other_user}","gists_url":"https://api.github.com/users/kartik-v/gists{/gist_id}","starred_url":"https://api.github.com/users/kartik-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartik-v/subscriptions","organizations_url":"https://api.github.com/users/kartik-v/orgs","repos_url":"https://api.github.com/users/kartik-v/repos","events_url":"https://api.github.com/users/kartik-v/events{/privacy}","received_events_url":"https://api.github.com/users/kartik-v/received_events","type":"User","site_admin":false},"repo":{"id":16077937,"name":"yii2-grid","full_name":"kartik-v/yii2-grid","owner":{"login":"kartik-v","id":3592619,"avatar_url":"https://avatars.githubusercontent.com/u/3592619?v=3","gravatar_id":"","url":"https://api.github.com/users/kartik-v","html_url":"https://github.com/kartik-v","followers_url":"https://api.github.com/users/kartik-v/followers","following_url":"https://api.github.com/users/kartik-v/following{/other_user}","gists_url":"https://api.github.com/users/kartik-v/gists{/gist_id}","starred_url":"https://api.github.com/users/kartik-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartik-v/subscriptions","organizations_url":"https://api.github.com/users/kartik-v/orgs","repos_url":"https://api.github.com/users/kartik-v/repos","events_url":"https://api.github.com/users/kartik-v/events{/privacy}","received_events_url":"https://api.github.com/users/kartik-v/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kartik-v/yii2-grid","description":"Enhanced GridView with various utilities for Yii Framework 2.0","fork":false,"url":"https://api.github.com/repos/kartik-v/yii2-grid","forks_url":"https://api.github.com/repos/kartik-v/yii2-grid/forks","keys_url":"https://api.github.com/repos/kartik-v/yii2-grid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kartik-v/yii2-grid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kartik-v/yii2-grid/teams","hooks_url":"https://api.github.com/repos/kartik-v/yii2-grid/hooks","issue_events_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/events{/number}","events_url":"https://api.github.com/repos/kartik-v/yii2-grid/events","assignees_url":"https://api.github.com/repos/kartik-v/yii2-grid/assignees{/user}","branches_url":"https://api.github.com/repos/kartik-v/yii2-grid/branches{/branch}","tags_url":"https://api.github.com/repos/kartik-v/yii2-grid/tags","blobs_url":"https://api.github.com/repos/kartik-v/yii2-grid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kartik-v/yii2-grid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kartik-v/yii2-grid/git/refs{/sha}","trees_url":"https://api.github.com/repos/kartik-v/yii2-grid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kartik-v/yii2-grid/statuses/{sha}","languages_url":"https://api.github.com/repos/kartik-v/yii2-grid/languages","stargazers_url":"https://api.github.com/repos/kartik-v/yii2-grid/stargazers","contributors_url":"https://api.github.com/repos/kartik-v/yii2-grid/contributors","subscribers_url":"https://api.github.com/repos/kartik-v/yii2-grid/subscribers","subscription_url":"https://api.github.com/repos/kartik-v/yii2-grid/subscription","commits_url":"https://api.github.com/repos/kartik-v/yii2-grid/commits{/sha}","git_commits_url":"https://api.github.com/repos/kartik-v/yii2-grid/git/commits{/sha}","comments_url":"https://api.github.com/repos/kartik-v/yii2-grid/comments{/number}","issue_comment_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues/comments{/number}","contents_url":"https://api.github.com/repos/kartik-v/yii2-grid/contents/{+path}","compare_url":"https://api.github.com/repos/kartik-v/yii2-grid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kartik-v/yii2-grid/merges","archive_url":"https://api.github.com/repos/kartik-v/yii2-grid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kartik-v/yii2-grid/downloads","issues_url":"https://api.github.com/repos/kartik-v/yii2-grid/issues{/number}","pulls_url":"https://api.github.com/repos/kartik-v/yii2-grid/pulls{/number}","milestones_url":"https://api.github.com/repos/kartik-v/yii2-grid/milestones{/number}","notifications_url":"https://api.github.com/repos/kartik-v/yii2-grid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kartik-v/yii2-grid/labels{/name}","releases_url":"https://api.github.com/repos/kartik-v/yii2-grid/releases{/id}","created_at":"2014-01-20T17:36:26Z","updated_at":"2015-10-20T19:59:36Z","pushed_at":"2015-10-23T20:04:08Z","git_url":"git://github.com/kartik-v/yii2-grid.git","ssh_url":"git@github.com:kartik-v/yii2-grid.git","clone_url":"https://github.com/kartik-v/yii2-grid.git","svn_url":"https://github.com/kartik-v/yii2-grid","homepage":"http://demos.krajee.com/grid","size":2940,"stargazers_count":168,"watchers_count":168,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":17,"forks":118,"open_issues":17,"watchers":168,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kartik-v/yii2-grid/pulls/391"},"html":{"href":"https://github.com/kartik-v/yii2-grid/pull/391"},"issue":{"href":"https://api.github.com/repos/kartik-v/yii2-grid/issues/391"},"comments":{"href":"https://api.github.com/repos/kartik-v/yii2-grid/issues/391/comments"},"review_comments":{"href":"https://api.github.com/repos/kartik-v/yii2-grid/pulls/391/comments"},"review_comment":{"href":"https://api.github.com/repos/kartik-v/yii2-grid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kartik-v/yii2-grid/pulls/391/commits"},"statuses":{"href":"https://api.github.com/repos/kartik-v/yii2-grid/statuses/36b06e186a0c00963c9b734a24e543d840aad385"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":16,"deletions":1,"changed_files":1}}