{"action":"created","issue":{"url":"https://api.github.com/repos/onechiporenko/ember-models-table/issues/156","repository_url":"https://api.github.com/repos/onechiporenko/ember-models-table","labels_url":"https://api.github.com/repos/onechiporenko/ember-models-table/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/onechiporenko/ember-models-table/issues/156/comments","events_url":"https://api.github.com/repos/onechiporenko/ember-models-table/issues/156/events","html_url":"https://github.com/onechiporenko/ember-models-table/issues/156","id":196809782,"number":156,"title":"custom actions with select checkbox causing deselect/select issue","user":{"login":"nag9329","id":7323513,"avatar_url":"https://avatars.githubusercontent.com/u/7323513?v=3","gravatar_id":"","url":"https://api.github.com/users/nag9329","html_url":"https://github.com/nag9329","followers_url":"https://api.github.com/users/nag9329/followers","following_url":"https://api.github.com/users/nag9329/following{/other_user}","gists_url":"https://api.github.com/users/nag9329/gists{/gist_id}","starred_url":"https://api.github.com/users/nag9329/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nag9329/subscriptions","organizations_url":"https://api.github.com/users/nag9329/orgs","repos_url":"https://api.github.com/users/nag9329/repos","events_url":"https://api.github.com/users/nag9329/events{/privacy}","received_events_url":"https://api.github.com/users/nag9329/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-12-20T23:42:34Z","updated_at":"2016-12-29T08:25:34Z","closed_at":null,"body":"Hi,\r\n\r\nI'm using ember-models-table 1.11.0-beta.1. This version has selection of checkboxes, but after adding that feature, I cannot be able to do a custom action alone. If I do a custom action, both the methods (displayDataChanged and actionsClicked) are being called. \r\n\r\nBelow is the code of what I've explained above, I'm facing issues in creating a twiddle, I think is because 1.11.0-beta.1 has not published yet. I can update a twiddle if you have one that uses 1.11.0-beta.1.\r\n\r\n//index.hbs\r\n`{{my-table-with-custom-header data=model columns=columns multipleSelect=true sendDisplayDataChangedAction=true showColumnsDropdown = false multipleColumnsSorting = false globalFilterUsed = false filteringIgnoreCase = true useFilteringByColumns = false actionsClicked = 'actionsClicked'}}`\r\n\r\n//index.js\r\n```\r\nexport default Ember.Controller.extend({\r\n       columns: [\r\n               {\r\n\t             \"template\":\"component/select-box\",\r\n\t             \"useFilter\": false,\r\n\t              \"mayBeHidden\": false,\r\n\t              \"templateForSortCell\": 'component/select-box-all'\r\n\t       },\r\n               {\r\n\t               \"propertyName\": \"serverName\",\r\n\t               \"title\": \"Server\"\r\n\t        },\r\n                {\r\n\t                \"propertyName\": \"Delete\",\r\n\t                \"template\":\"custom/delete\",\r\n\t                \"disableSorting\":true\r\n\t\t},\r\n       ]\r\n       actions:{\r\n              displayDataChanged(settings) {\r\n\t             console.log(settings.selectedItems);\r\n\t       },\r\n\t       actionsClicked: function (record) {\r\n\t    \t     console.log(record);\r\n\t       }\r\n        }\r\n});\r\n```\r\n//custom/delete.hbs\r\n`<button {{action 'sendAction' 'actionsClicked' record}}>Delete</button>`\r\n\r\nOn a whole, the above two action methods are being called when I click on the delete button, instead I'm looking to not select/deselect the row when the delete button is pressed.\r\n\r\nOn a side note, when I select multiple checkboxes and click on the delete button, same behavior is happening. Request you to take a look at it or if you create a twiddle link with 1.11.0, I can reproduce the issue more clearly.\r\n\r\nThanks,\r\nNagarjuna"},"comment":{"url":"https://api.github.com/repos/onechiporenko/ember-models-table/issues/comments/269596991","html_url":"https://github.com/onechiporenko/ember-models-table/issues/156#issuecomment-269596991","issue_url":"https://api.github.com/repos/onechiporenko/ember-models-table/issues/156","id":269596991,"user":{"login":"onechiporenko","id":2485873,"avatar_url":"https://avatars.githubusercontent.com/u/2485873?v=3","gravatar_id":"","url":"https://api.github.com/users/onechiporenko","html_url":"https://github.com/onechiporenko","followers_url":"https://api.github.com/users/onechiporenko/followers","following_url":"https://api.github.com/users/onechiporenko/following{/other_user}","gists_url":"https://api.github.com/users/onechiporenko/gists{/gist_id}","starred_url":"https://api.github.com/users/onechiporenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onechiporenko/subscriptions","organizations_url":"https://api.github.com/users/onechiporenko/orgs","repos_url":"https://api.github.com/users/onechiporenko/repos","events_url":"https://api.github.com/users/onechiporenko/events{/privacy}","received_events_url":"https://api.github.com/users/onechiporenko/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T08:25:34Z","updated_at":"2016-12-29T08:25:34Z","body":"@nag9329, I'll check what may be done to get it work"}}
{"actor":{"display_login":"onechiporenko"}}