{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ng-grid/issues/3285","labels_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/3285/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/3285/comments","events_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/3285/events","html_url":"https://github.com/angular-ui/ng-grid/issues/3285","id":68664352,"number":3285,"title":"data load callback","user":{"login":"feralanPaladin","id":10000160,"avatar_url":"https://avatars.githubusercontent.com/u/10000160?v=3","gravatar_id":"","url":"https://api.github.com/users/feralanPaladin","html_url":"https://github.com/feralanPaladin","followers_url":"https://api.github.com/users/feralanPaladin/followers","following_url":"https://api.github.com/users/feralanPaladin/following{/other_user}","gists_url":"https://api.github.com/users/feralanPaladin/gists{/gist_id}","starred_url":"https://api.github.com/users/feralanPaladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feralanPaladin/subscriptions","organizations_url":"https://api.github.com/users/feralanPaladin/orgs","repos_url":"https://api.github.com/users/feralanPaladin/repos","events_url":"https://api.github.com/users/feralanPaladin/events{/privacy}","received_events_url":"https://api.github.com/users/feralanPaladin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/ng-grid/labels/waiting-response","name":"waiting-response","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-15T12:07:45Z","updated_at":"2015-04-17T05:47:09Z","closed_at":null,"body":"Hi, \r\n\r\nIs there any callback mechanisms to trigger me after data load(change) operations.\r\n2.x version has dataUpdated option for this kind of operations (Its comment says : Data updated callback, fires every time the data is modified from outside )"},"comment":{"url":"https://api.github.com/repos/angular-ui/ng-grid/issues/comments/93898316","html_url":"https://github.com/angular-ui/ng-grid/issues/3285#issuecomment-93898316","issue_url":"https://api.github.com/repos/angular-ui/ng-grid/issues/3285","id":93898316,"user":{"login":"PaulL1","id":5248789,"avatar_url":"https://avatars.githubusercontent.com/u/5248789?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulL1","html_url":"https://github.com/PaulL1","followers_url":"https://api.github.com/users/PaulL1/followers","following_url":"https://api.github.com/users/PaulL1/following{/other_user}","gists_url":"https://api.github.com/users/PaulL1/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulL1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulL1/subscriptions","organizations_url":"https://api.github.com/users/PaulL1/orgs","repos_url":"https://api.github.com/users/PaulL1/repos","events_url":"https://api.github.com/users/PaulL1/events{/privacy}","received_events_url":"https://api.github.com/users/PaulL1/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T05:47:09Z","updated_at":"2015-04-17T05:47:09Z","body":"You shouldn't need to use cellTemplates to handle data update.  There should be two scenarios:\r\n\r\n1.  The data is changed programatically from outside the grid.  In this situation you know that you changed the data, so you can take actions as appropriate when you change it (usually you do a $timeout so that the grid has the time to ingest the data, then do your action)\r\n2.  The data is edited inside the grid.  In this scenario you should use the edit feature, and you should provide the END_CELL_EDIT event if you're using custom editors.  This event will call notifyDataChange, which tells the grid the data is updated.\r\n\r\nFrom your description it sounds like you've put custom templates into each cell with that template having an editor inside it along with some logic.  The problem is that all that logic is going to run on every tick of every scroll event, which isn't what you want.  That's why the edit feature only puts the editor into the cell when someone actually clicks on it."}}