{"action":"created","issue":{"url":"https://api.github.com/repos/ghiscoding/Angular-Slickgrid/issues/40","repository_url":"https://api.github.com/repos/ghiscoding/Angular-Slickgrid","labels_url":"https://api.github.com/repos/ghiscoding/Angular-Slickgrid/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/ghiscoding/Angular-Slickgrid/issues/40/comments","events_url":"https://api.github.com/repos/ghiscoding/Angular-Slickgrid/issues/40/events","html_url":"https://github.com/ghiscoding/Angular-Slickgrid/issues/40","id":331692629,"node_id":"MDU6SXNzdWUzMzE2OTI2Mjk=","number":40,"title":"where did setColumns go?","user":{"login":"ctung","id":4929804,"node_id":"MDQ6VXNlcjQ5Mjk4MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4929804?v=4","gravatar_id":"","url":"https://api.github.com/users/ctung","html_url":"https://github.com/ctung","followers_url":"https://api.github.com/users/ctung/followers","following_url":"https://api.github.com/users/ctung/following{/other_user}","gists_url":"https://api.github.com/users/ctung/gists{/gist_id}","starred_url":"https://api.github.com/users/ctung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctung/subscriptions","organizations_url":"https://api.github.com/users/ctung/orgs","repos_url":"https://api.github.com/users/ctung/repos","events_url":"https://api.github.com/users/ctung/events{/privacy}","received_events_url":"https://api.github.com/users/ctung/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-12T17:58:59Z","updated_at":"2018-06-12T19:19:30Z","closed_at":"2018-06-12T19:19:30Z","author_association":"NONE","body":"I used to use getColumns()/setColumns() to get/set the visible columns as a subset of the full list of columns.\r\n\r\nIt looks like I can still use angularGrid.pluginService._grid.setColumns() & ._grid.getColumns()  but I don't see that documented anywhere.  Also it causes inconsistencies in other variables like visibleColumns and areVisibleColumnsDifferent.\r\n\r\nhttps://stackblitz.com/edit/angular-cjiajg \r\n\r\n  angularGridReady(angularGrid: AngularGridInstance) {\r\n    this.angularGrid = angularGrid;\r\n    console.log(angularGrid.gridStateService.getColumns());  // returns []\r\n    this.angularGrid.gridStateService.resetColumns(this.columnView); // does nothing?\r\n    console.log(angularGrid.pluginService._grid.getColumns()); // returns original columns\r\n    this.angularGrid.pluginService._grid.setColumns(this.columnView); // changes columns\r\n    console.log(angularGrid.pluginService.areVisibleColumnDifferent);  // false should be true\r\n    console.log(angularGrid.pluginService._grid.getColumns());  // returns the partial list\r\n  }"},"comment":{"url":"https://api.github.com/repos/ghiscoding/Angular-Slickgrid/issues/comments/396703429","html_url":"https://github.com/ghiscoding/Angular-Slickgrid/issues/40#issuecomment-396703429","issue_url":"https://api.github.com/repos/ghiscoding/Angular-Slickgrid/issues/40","id":396703429,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjcwMzQyOQ==","user":{"login":"ctung","id":4929804,"node_id":"MDQ6VXNlcjQ5Mjk4MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4929804?v=4","gravatar_id":"","url":"https://api.github.com/users/ctung","html_url":"https://github.com/ctung","followers_url":"https://api.github.com/users/ctung/followers","following_url":"https://api.github.com/users/ctung/following{/other_user}","gists_url":"https://api.github.com/users/ctung/gists{/gist_id}","starred_url":"https://api.github.com/users/ctung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctung/subscriptions","organizations_url":"https://api.github.com/users/ctung/orgs","repos_url":"https://api.github.com/users/ctung/repos","events_url":"https://api.github.com/users/ctung/events{/privacy}","received_events_url":"https://api.github.com/users/ctung/received_events","type":"User","site_admin":false},"created_at":"2018-06-12T19:19:30Z","updated_at":"2018-06-12T19:19:30Z","author_association":"NONE","body":"Ok, Thanks again!"}}
{"actor":{"display_login":"ctung"}}