{"action":"closed","issue":{"url":"https://api.github.com/repos/GoogleWebComponents/google-sheets/issues/6","labels_url":"https://api.github.com/repos/GoogleWebComponents/google-sheets/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/GoogleWebComponents/google-sheets/issues/6/comments","events_url":"https://api.github.com/repos/GoogleWebComponents/google-sheets/issues/6/events","html_url":"https://github.com/GoogleWebComponents/google-sheets/issues/6","id":37177426,"number":6,"title":"Component no updated when gid changes","user":{"login":"Eccenux","id":1045235,"avatar_url":"https://avatars.githubusercontent.com/u/1045235?v=3","gravatar_id":"","url":"https://api.github.com/users/Eccenux","html_url":"https://github.com/Eccenux","followers_url":"https://api.github.com/users/Eccenux/followers","following_url":"https://api.github.com/users/Eccenux/following{/other_user}","gists_url":"https://api.github.com/users/Eccenux/gists{/gist_id}","starred_url":"https://api.github.com/users/Eccenux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eccenux/subscriptions","organizations_url":"https://api.github.com/users/Eccenux/orgs","repos_url":"https://api.github.com/users/Eccenux/repos","events_url":"https://api.github.com/users/Eccenux/events{/privacy}","received_events_url":"https://api.github.com/users/Eccenux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-07-04T16:02:22Z","updated_at":"2015-03-18T17:53:17Z","closed_at":"2015-03-18T17:53:17Z","body":"From the doc \"If `gid` is updated at a later time, the underlying data is also updated\".\r\n\r\nSo I did try that on the [map-sheet demo](http://googlewebcomponents.github.io/google-sheets/components/google-sheets/demo.html):\r\n```js\r\ndocument.getElementById('sheet').setAttribute('gid', 1)\r\n```\r\nBut nothing happens. I assumed at least left section would be updated...\r\n\r\nSo I also tried changing the other one:\r\n```js\r\ndocument.getElementsByTagName('google-sheets')[1].setAttribute('gid', 1)\r\n```\r\nAlso no update.\r\n\r\nBTW. Changing `key` also don't do much (this is my test sheet key):\r\n```js\r\ndocument.getElementsByTagName('google-sheets')[0].setAttribute('key', '0AhyCpLnoU3uidGxBRjNSVkk0ZnJUTTR0WFZUdTFad3c')\r\n```\r\nI assumed this would all work pretty much the same as changing `src` attribute on images.\r\n\r\nTested in Chrome 35 (current latest), Windows 7."}}