{"action":"created","issue":{"url":"https://api.github.com/repos/SAP/openui5/issues/660","labels_url":"https://api.github.com/repos/SAP/openui5/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/SAP/openui5/issues/660/comments","events_url":"https://api.github.com/repos/SAP/openui5/issues/660/events","html_url":"https://github.com/SAP/openui5/issues/660","id":112698006,"number":660,"title":"sap.ui.table.Table: internally calling destroyRows","user":{"login":"psieg","id":5766601,"avatar_url":"https://avatars.githubusercontent.com/u/5766601?v=3","gravatar_id":"","url":"https://api.github.com/users/psieg","html_url":"https://github.com/psieg","followers_url":"https://api.github.com/users/psieg/followers","following_url":"https://api.github.com/users/psieg/following{/other_user}","gists_url":"https://api.github.com/users/psieg/gists{/gist_id}","starred_url":"https://api.github.com/users/psieg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psieg/subscriptions","organizations_url":"https://api.github.com/users/psieg/orgs","repos_url":"https://api.github.com/users/psieg/repos","events_url":"https://api.github.com/users/psieg/events{/privacy}","received_events_url":"https://api.github.com/users/psieg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-21T23:16:38Z","updated_at":"2015-10-23T07:32:43Z","closed_at":null,"body":"`sap.ui.table.Table` denies calls to `destroyRows` because the controls manages the rows itself and throws an error if called.\r\n\r\nThe example at http://codepen.io/anon/pen/dYdbzy triggers a call to `destroyRows` from within the controls which causes the error to be thrown incorrectly.\r\n\r\nMinimal example:\r\n```\r\nvar oTable = new sap.ui.table.Table();\r\n\r\noTable.addColumn(new sap.ui.table.Column({\r\n  label: new sap.m.Label({text: 'Name'}),\r\n  template: new sap.m.Label({text: '{name}'})\r\n}));\r\noTable.placeAt('content');\r\n\r\noTable.bindRows('/');\r\noTable.bindRows('/');\r\n```\r\nThe also bug appears without the column or with a valid column definition and model when calling\r\n```\r\noTable.setModel(oModel);\r\noTable.bindRows('/');\r\n\r\noTable.setModel(null);\r\noTable.bindRows('/');\r\n```\r\n\r\nCall stack on 1.30.0:\r\n```\r\nlog\t@\tsap-ui-core-dbg.js:15302\r\nerror\t@\tsap-ui-core-dbg.js:15357\r\nTable.destroyRows\t@\tTable-dbg.js:1243\r\nManagedObject.unbindAggregation\t@\tsap-ui-core-dbg.js:31544\r\nTable.unbindAggregation\t@\tTable-dbg.js:1111\r\nManagedObject.bindAggregation\t@\tsap-ui-core-dbg.js:31427\r\nTable.bindRows\t@\tTable-dbg.js:1050\r\n```\r\n\r\nFound in: 1.32.3, happens on 1.30.0 as well\r\nTested on: Chrome 46.0.2490.71 (64-bit), Firefox 41.0.2"},"comment":{"url":"https://api.github.com/repos/SAP/openui5/issues/comments/150497437","html_url":"https://github.com/SAP/openui5/issues/660#issuecomment-150497437","issue_url":"https://api.github.com/repos/SAP/openui5/issues/660","id":150497437,"user":{"login":"aborjinik","id":6832576,"avatar_url":"https://avatars.githubusercontent.com/u/6832576?v=3","gravatar_id":"","url":"https://api.github.com/users/aborjinik","html_url":"https://github.com/aborjinik","followers_url":"https://api.github.com/users/aborjinik/followers","following_url":"https://api.github.com/users/aborjinik/following{/other_user}","gists_url":"https://api.github.com/users/aborjinik/gists{/gist_id}","starred_url":"https://api.github.com/users/aborjinik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aborjinik/subscriptions","organizations_url":"https://api.github.com/users/aborjinik/orgs","repos_url":"https://api.github.com/users/aborjinik/repos","events_url":"https://api.github.com/users/aborjinik/events{/privacy}","received_events_url":"https://api.github.com/users/aborjinik/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T07:32:43Z","updated_at":"2015-10-23T07:32:43Z","body":"sap.ui.table.Table is explicitly denies to handle destroyRows because it keeps the same amount of rows and only updates the binding context of the rows when the binding is changed e.g when you scroll down. And this logic makes the table working with million of records. \r\n\r\nSo my question is what is the issue here only the error log \r\n\"The control manages the rows aggregation. The method destroyRows cannot be used programmatically\"\r\nat the console? Or do you mean something is not working?"}}