{"action":"closed","issue":{"url":"https://api.github.com/repos/telerik/kendo-ui-core/issues/774","labels_url":"https://api.github.com/repos/telerik/kendo-ui-core/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/telerik/kendo-ui-core/issues/774/comments","events_url":"https://api.github.com/repos/telerik/kendo-ui-core/issues/774/events","html_url":"https://github.com/telerik/kendo-ui-core/issues/774","id":72599778,"number":774,"title":"DropDownList displayed text is not updated after data source change","user":{"login":"tsvetomir","id":247917,"avatar_url":"https://avatars.githubusercontent.com/u/247917?v=3","gravatar_id":"","url":"https://api.github.com/users/tsvetomir","html_url":"https://github.com/tsvetomir","followers_url":"https://api.github.com/users/tsvetomir/followers","following_url":"https://api.github.com/users/tsvetomir/following{/other_user}","gists_url":"https://api.github.com/users/tsvetomir/gists{/gist_id}","starred_url":"https://api.github.com/users/tsvetomir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsvetomir/subscriptions","organizations_url":"https://api.github.com/users/tsvetomir/orgs","repos_url":"https://api.github.com/users/tsvetomir/repos","events_url":"https://api.github.com/users/tsvetomir/events{/privacy}","received_events_url":"https://api.github.com/users/tsvetomir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/telerik/kendo-ui-core/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/telerik/kendo-ui-core/labels/C:%20ComboBox","name":"C: ComboBox","color":"444444"},{"url":"https://api.github.com/repos/telerik/kendo-ui-core/labels/C:%20DropDownList","name":"C: DropDownList","color":"444444"},{"url":"https://api.github.com/repos/telerik/kendo-ui-core/labels/SEV:%20High","name":"SEV: High","color":"FF6666"}],"state":"closed","locked":false,"assignee":{"login":"ggkrustev","id":495188,"avatar_url":"https://avatars.githubusercontent.com/u/495188?v=3","gravatar_id":"","url":"https://api.github.com/users/ggkrustev","html_url":"https://github.com/ggkrustev","followers_url":"https://api.github.com/users/ggkrustev/followers","following_url":"https://api.github.com/users/ggkrustev/following{/other_user}","gists_url":"https://api.github.com/users/ggkrustev/gists{/gist_id}","starred_url":"https://api.github.com/users/ggkrustev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggkrustev/subscriptions","organizations_url":"https://api.github.com/users/ggkrustev/orgs","repos_url":"https://api.github.com/users/ggkrustev/repos","events_url":"https://api.github.com/users/ggkrustev/events{/privacy}","received_events_url":"https://api.github.com/users/ggkrustev/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/telerik/kendo-ui-core/milestones/15","html_url":"https://github.com/telerik/kendo-ui-core/milestones/2015.Q1.SP.next","labels_url":"https://api.github.com/repos/telerik/kendo-ui-core/milestones/15/labels","id":1093296,"number":15,"title":"2015.Q1.SP.next","description":"Placeholder milestones for issues that will be released as part of the next Service Pack or internal build.","creator":{"login":"tsvetomir","id":247917,"avatar_url":"https://avatars.githubusercontent.com/u/247917?v=3","gravatar_id":"","url":"https://api.github.com/users/tsvetomir","html_url":"https://github.com/tsvetomir","followers_url":"https://api.github.com/users/tsvetomir/followers","following_url":"https://api.github.com/users/tsvetomir/following{/other_user}","gists_url":"https://api.github.com/users/tsvetomir/gists{/gist_id}","starred_url":"https://api.github.com/users/tsvetomir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsvetomir/subscriptions","organizations_url":"https://api.github.com/users/tsvetomir/orgs","repos_url":"https://api.github.com/users/tsvetomir/repos","events_url":"https://api.github.com/users/tsvetomir/events{/privacy}","received_events_url":"https://api.github.com/users/tsvetomir/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2015-05-02T06:55:32Z","updated_at":"2015-05-05T11:17:13Z","due_on":"2015-05-26T21:00:00Z","closed_at":null},"comments":0,"created_at":"2015-05-02T06:50:25Z","updated_at":"2015-05-05T11:17:13Z","closed_at":"2015-05-05T11:17:13Z","body":"Regression from Q3'14. Reported in ticket 931257\r\n\r\nIn the snippet below the displayed text \"Foo\" does not change after updating the data.\r\nThe text is updated in the drop-down.\r\n\r\n    <input id=\"products\" />\r\n    <button id=\"update\" class=\"k-button\">Update Data</button>\r\n    <script>\r\n      var products = [{\r\n        ProductName: \"Foo\",\r\n        ProductID: 1\r\n      }, {\r\n        ProductName: \"Bar\",\r\n        ProductID: 2\r\n      }]\r\n\r\n      $(\"#products\").kendoDropDownList({\r\n        dataTextField: \"ProductName\",\r\n        dataValueField: \"ProductID\",\r\n        dataSource: {\r\n          transport: {\r\n            read: function(e) {\r\n              e.success(products);\r\n            }\r\n          }\r\n        }\r\n      });\r\n\r\n      $(\"#update\").click(function() {\r\n        products[0].ProductName += \" 2\";\r\n        $(\"#products\").getKendoDropDownList().dataSource.read();\r\n      });\r\n    </script>"}}