{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/clarity/issues/2265","repository_url":"https://api.github.com/repos/vmware/clarity","labels_url":"https://api.github.com/repos/vmware/clarity/issues/2265/labels{/name}","comments_url":"https://api.github.com/repos/vmware/clarity/issues/2265/comments","events_url":"https://api.github.com/repos/vmware/clarity/issues/2265/events","html_url":"https://github.com/vmware/clarity/issues/2265","id":322424173,"number":2265,"title":"[Datagrid] Update and refresh for a data grid row breaks select all toggle functionality","user":{"login":"gitnarendra","id":34893064,"avatar_url":"https://avatars3.githubusercontent.com/u/34893064?v=4","gravatar_id":"","url":"https://api.github.com/users/gitnarendra","html_url":"https://github.com/gitnarendra","followers_url":"https://api.github.com/users/gitnarendra/followers","following_url":"https://api.github.com/users/gitnarendra/following{/other_user}","gists_url":"https://api.github.com/users/gitnarendra/gists{/gist_id}","starred_url":"https://api.github.com/users/gitnarendra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitnarendra/subscriptions","organizations_url":"https://api.github.com/users/gitnarendra/orgs","repos_url":"https://api.github.com/users/gitnarendra/repos","events_url":"https://api.github.com/users/gitnarendra/events{/privacy}","received_events_url":"https://api.github.com/users/gitnarendra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-11T20:27:21Z","updated_at":"2018-05-11T21:09:06Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPLEASE FILL OUT THE FOLLOWING. WE MAY CLOSE INCOMPLETE ISSUES.\r\n-->\r\n\r\n**Select one ...**  (check one with \"x\")\r\n```\r\n[ x ] bug\r\n[ ] feature request\r\n[ ] enhancement\r\n```\r\n\r\n### Expected behavior\r\nCheckbox for each row on data grid should be checked.\r\n\r\n### Actual behavior\r\nCheckbox for each row on data grid appears unchecked.\r\n\r\n### Reproduction of behavior\r\n**Stackblitz** : https://stackblitz.com/edit/clr-datagrid-server-driven-demo\r\n\r\n1. Select an item on the data grid.\r\n2. On item selection _“Update and Refresh”_ button will be shown on the top of grid.\r\n3. Click the “Update and Refresh” button, here the expectation is to update a field in the row and get the updated values from back end.\r\n4. Now try selecting all rows by clicking the select all toggle on grid header.\r\n\r\n### Environment details\r\n\r\n* Angular version: 5.2.0 and 6.0.1\r\n\r\n* Clarity version: 0.11.16\r\n\r\n* OS and version: Windows Server 2012\r\n\r\n* Browser: all\r\n\r\n### Note\r\nIf the `trackBy` option is not used then the grid works as expected.\r\n**Stackblitz** : https://stackblitz.com/edit/clr-datagrid-server-driven-demo-geauyd"},"comment":{"url":"https://api.github.com/repos/vmware/clarity/issues/comments/388486256","html_url":"https://github.com/vmware/clarity/issues/2265#issuecomment-388486256","issue_url":"https://api.github.com/repos/vmware/clarity/issues/2265","id":388486256,"user":{"login":"gnomeontherun","id":79500,"avatar_url":"https://avatars3.githubusercontent.com/u/79500?v=4","gravatar_id":"","url":"https://api.github.com/users/gnomeontherun","html_url":"https://github.com/gnomeontherun","followers_url":"https://api.github.com/users/gnomeontherun/followers","following_url":"https://api.github.com/users/gnomeontherun/following{/other_user}","gists_url":"https://api.github.com/users/gnomeontherun/gists{/gist_id}","starred_url":"https://api.github.com/users/gnomeontherun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnomeontherun/subscriptions","organizations_url":"https://api.github.com/users/gnomeontherun/orgs","repos_url":"https://api.github.com/users/gnomeontherun/repos","events_url":"https://api.github.com/users/gnomeontherun/events{/privacy}","received_events_url":"https://api.github.com/users/gnomeontherun/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T21:09:06Z","updated_at":"2018-05-11T21:09:06Z","author_association":"CONTRIBUTOR","body":"Did you save your stackblitz correctly? https://stackblitz.com/edit/clr-datagrid-server-driven-demo is not showing the button as you describe."}}
{"actor":{"display_login":"gnomeontherun"}}