{"action":"opened","number":532,"pull_request":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/pulls/532","id":29252721,"html_url":"https://github.com/wenzhixin/bootstrap-table/pull/532","diff_url":"https://github.com/wenzhixin/bootstrap-table/pull/532.diff","patch_url":"https://github.com/wenzhixin/bootstrap-table/pull/532.patch","issue_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/532","number":532,"state":"open","locked":false,"title":"New methods to select rows by value","user":{"login":"macias3","id":4989376,"avatar_url":"https://avatars.githubusercontent.com/u/4989376?v=3","gravatar_id":"","url":"https://api.github.com/users/macias3","html_url":"https://github.com/macias3","followers_url":"https://api.github.com/users/macias3/followers","following_url":"https://api.github.com/users/macias3/following{/other_user}","gists_url":"https://api.github.com/users/macias3/gists{/gist_id}","starred_url":"https://api.github.com/users/macias3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macias3/subscriptions","organizations_url":"https://api.github.com/users/macias3/orgs","repos_url":"https://api.github.com/users/macias3/repos","events_url":"https://api.github.com/users/macias3/events{/privacy}","received_events_url":"https://api.github.com/users/macias3/received_events","type":"User","site_admin":false},"body":"Hi Wenzhixin,\r\n\r\nI'd like to introduce new methods: checkBy and uncheckBy to select rows by value or array of values.\r\n\r\nYou can call\r\n$(\"#table\").bootstrapTable(\"checkBy\", {field:\"field_name\", value:\"value1\"}) \r\nto check/uncheck rows by a single value\r\nor\r\n$(\"#table\").bootstrapTable(\"checkBy\", {field:\"field_name\", value:[\"value1\",\"value2\",\"value3\"]})\r\nto check/uncheck rows by multiple values.\r\n\r\nIn addition, onCheckAll/onUncheckAll event handlers return an array of newly/previously selected row objects.\r\n\r\nThis two commits can help in the future with https://github.com/wenzhixin/bootstrap-table/issues/372\r\n\r\nWhat do you think?","created_at":"2015-02-13T10:06:54Z","updated_at":"2015-02-13T10:06:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf68fa39091ff3f1405303756ad380eb4293d6a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/pulls/532/commits","review_comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/pulls/532/comments","review_comment_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/pulls/comments/{number}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/532/comments","statuses_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/statuses/39173f2e54f31613ad7a3f654629235c67a2befe","head":{"label":"macias3:master","ref":"master","sha":"39173f2e54f31613ad7a3f654629235c67a2befe","user":{"login":"macias3","id":4989376,"avatar_url":"https://avatars.githubusercontent.com/u/4989376?v=3","gravatar_id":"","url":"https://api.github.com/users/macias3","html_url":"https://github.com/macias3","followers_url":"https://api.github.com/users/macias3/followers","following_url":"https://api.github.com/users/macias3/following{/other_user}","gists_url":"https://api.github.com/users/macias3/gists{/gist_id}","starred_url":"https://api.github.com/users/macias3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macias3/subscriptions","organizations_url":"https://api.github.com/users/macias3/orgs","repos_url":"https://api.github.com/users/macias3/repos","events_url":"https://api.github.com/users/macias3/events{/privacy}","received_events_url":"https://api.github.com/users/macias3/received_events","type":"User","site_admin":false},"repo":{"id":30534960,"name":"bootstrap-table","full_name":"macias3/bootstrap-table","owner":{"login":"macias3","id":4989376,"avatar_url":"https://avatars.githubusercontent.com/u/4989376?v=3","gravatar_id":"","url":"https://api.github.com/users/macias3","html_url":"https://github.com/macias3","followers_url":"https://api.github.com/users/macias3/followers","following_url":"https://api.github.com/users/macias3/following{/other_user}","gists_url":"https://api.github.com/users/macias3/gists{/gist_id}","starred_url":"https://api.github.com/users/macias3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macias3/subscriptions","organizations_url":"https://api.github.com/users/macias3/orgs","repos_url":"https://api.github.com/users/macias3/repos","events_url":"https://api.github.com/users/macias3/events{/privacy}","received_events_url":"https://api.github.com/users/macias3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/macias3/bootstrap-table","description":"An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3) ","fork":true,"url":"https://api.github.com/repos/macias3/bootstrap-table","forks_url":"https://api.github.com/repos/macias3/bootstrap-table/forks","keys_url":"https://api.github.com/repos/macias3/bootstrap-table/keys{/key_id}","collaborators_url":"https://api.github.com/repos/macias3/bootstrap-table/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/macias3/bootstrap-table/teams","hooks_url":"https://api.github.com/repos/macias3/bootstrap-table/hooks","issue_events_url":"https://api.github.com/repos/macias3/bootstrap-table/issues/events{/number}","events_url":"https://api.github.com/repos/macias3/bootstrap-table/events","assignees_url":"https://api.github.com/repos/macias3/bootstrap-table/assignees{/user}","branches_url":"https://api.github.com/repos/macias3/bootstrap-table/branches{/branch}","tags_url":"https://api.github.com/repos/macias3/bootstrap-table/tags","blobs_url":"https://api.github.com/repos/macias3/bootstrap-table/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/macias3/bootstrap-table/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/macias3/bootstrap-table/git/refs{/sha}","trees_url":"https://api.github.com/repos/macias3/bootstrap-table/git/trees{/sha}","statuses_url":"https://api.github.com/repos/macias3/bootstrap-table/statuses/{sha}","languages_url":"https://api.github.com/repos/macias3/bootstrap-table/languages","stargazers_url":"https://api.github.com/repos/macias3/bootstrap-table/stargazers","contributors_url":"https://api.github.com/repos/macias3/bootstrap-table/contributors","subscribers_url":"https://api.github.com/repos/macias3/bootstrap-table/subscribers","subscription_url":"https://api.github.com/repos/macias3/bootstrap-table/subscription","commits_url":"https://api.github.com/repos/macias3/bootstrap-table/commits{/sha}","git_commits_url":"https://api.github.com/repos/macias3/bootstrap-table/git/commits{/sha}","comments_url":"https://api.github.com/repos/macias3/bootstrap-table/comments{/number}","issue_comment_url":"https://api.github.com/repos/macias3/bootstrap-table/issues/comments/{number}","contents_url":"https://api.github.com/repos/macias3/bootstrap-table/contents/{+path}","compare_url":"https://api.github.com/repos/macias3/bootstrap-table/compare/{base}...{head}","merges_url":"https://api.github.com/repos/macias3/bootstrap-table/merges","archive_url":"https://api.github.com/repos/macias3/bootstrap-table/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/macias3/bootstrap-table/downloads","issues_url":"https://api.github.com/repos/macias3/bootstrap-table/issues{/number}","pulls_url":"https://api.github.com/repos/macias3/bootstrap-table/pulls{/number}","milestones_url":"https://api.github.com/repos/macias3/bootstrap-table/milestones{/number}","notifications_url":"https://api.github.com/repos/macias3/bootstrap-table/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/macias3/bootstrap-table/labels{/name}","releases_url":"https://api.github.com/repos/macias3/bootstrap-table/releases{/id}","created_at":"2015-02-09T12:34:16Z","updated_at":"2015-02-13T09:41:44Z","pushed_at":"2015-02-13T09:41:44Z","git_url":"git://github.com/macias3/bootstrap-table.git","ssh_url":"git@github.com:macias3/bootstrap-table.git","clone_url":"https://github.com/macias3/bootstrap-table.git","svn_url":"https://github.com/macias3/bootstrap-table","homepage":"http://bootstrap-table.wenzhixin.net.cn","size":5034,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"wenzhixin:master","ref":"master","sha":"08f3e0620af3e136384208bcfc9a69e69e7c62c8","user":{"login":"wenzhixin","id":2117018,"avatar_url":"https://avatars.githubusercontent.com/u/2117018?v=3","gravatar_id":"","url":"https://api.github.com/users/wenzhixin","html_url":"https://github.com/wenzhixin","followers_url":"https://api.github.com/users/wenzhixin/followers","following_url":"https://api.github.com/users/wenzhixin/following{/other_user}","gists_url":"https://api.github.com/users/wenzhixin/gists{/gist_id}","starred_url":"https://api.github.com/users/wenzhixin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenzhixin/subscriptions","organizations_url":"https://api.github.com/users/wenzhixin/orgs","repos_url":"https://api.github.com/users/wenzhixin/repos","events_url":"https://api.github.com/users/wenzhixin/events{/privacy}","received_events_url":"https://api.github.com/users/wenzhixin/received_events","type":"User","site_admin":false},"repo":{"id":12246785,"name":"bootstrap-table","full_name":"wenzhixin/bootstrap-table","owner":{"login":"wenzhixin","id":2117018,"avatar_url":"https://avatars.githubusercontent.com/u/2117018?v=3","gravatar_id":"","url":"https://api.github.com/users/wenzhixin","html_url":"https://github.com/wenzhixin","followers_url":"https://api.github.com/users/wenzhixin/followers","following_url":"https://api.github.com/users/wenzhixin/following{/other_user}","gists_url":"https://api.github.com/users/wenzhixin/gists{/gist_id}","starred_url":"https://api.github.com/users/wenzhixin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenzhixin/subscriptions","organizations_url":"https://api.github.com/users/wenzhixin/orgs","repos_url":"https://api.github.com/users/wenzhixin/repos","events_url":"https://api.github.com/users/wenzhixin/events{/privacy}","received_events_url":"https://api.github.com/users/wenzhixin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wenzhixin/bootstrap-table","description":"An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3) ","fork":false,"url":"https://api.github.com/repos/wenzhixin/bootstrap-table","forks_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/forks","keys_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/teams","hooks_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/hooks","issue_events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/events{/number}","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/events","assignees_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/assignees{/user}","branches_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/branches{/branch}","tags_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/tags","blobs_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/git/refs{/sha}","trees_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/statuses/{sha}","languages_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/languages","stargazers_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/stargazers","contributors_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/contributors","subscribers_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/subscribers","subscription_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/subscription","commits_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/commits{/sha}","git_commits_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/git/commits{/sha}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/comments{/number}","issue_comment_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/comments/{number}","contents_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/contents/{+path}","compare_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/merges","archive_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/downloads","issues_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues{/number}","pulls_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/pulls{/number}","milestones_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/milestones{/number}","notifications_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/labels{/name}","releases_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/releases{/id}","created_at":"2013-08-20T15:34:15Z","updated_at":"2015-02-13T06:33:48Z","pushed_at":"2015-02-13T06:33:47Z","git_url":"git://github.com/wenzhixin/bootstrap-table.git","ssh_url":"git@github.com:wenzhixin/bootstrap-table.git","clone_url":"https://github.com/wenzhixin/bootstrap-table.git","svn_url":"https://github.com/wenzhixin/bootstrap-table","homepage":"http://bootstrap-table.wenzhixin.net.cn","size":5034,"stargazers_count":1030,"watchers_count":1030,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":286,"mirror_url":null,"open_issues_count":108,"forks":286,"open_issues":108,"watchers":1030,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wenzhixin/bootstrap-table/pulls/532"},"html":{"href":"https://github.com/wenzhixin/bootstrap-table/pull/532"},"issue":{"href":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/532"},"comments":{"href":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/532/comments"},"review_comments":{"href":"https://api.github.com/repos/wenzhixin/bootstrap-table/pulls/532/comments"},"review_comment":{"href":"https://api.github.com/repos/wenzhixin/bootstrap-table/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/wenzhixin/bootstrap-table/pulls/532/commits"},"statuses":{"href":"https://api.github.com/repos/wenzhixin/bootstrap-table/statuses/39173f2e54f31613ad7a3f654629235c67a2befe"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":30,"deletions":1,"changed_files":1}}