{"action":"created","issue":{"url":"https://api.github.com/repos/handsontable/handsontable/issues/3510","repository_url":"https://api.github.com/repos/handsontable/handsontable","labels_url":"https://api.github.com/repos/handsontable/handsontable/issues/3510/labels{/name}","comments_url":"https://api.github.com/repos/handsontable/handsontable/issues/3510/comments","events_url":"https://api.github.com/repos/handsontable/handsontable/issues/3510/events","html_url":"https://github.com/handsontable/handsontable/issues/3510","id":155294429,"number":3510,"title":"Custom Editors: setValue argument is automatically converted to String by BaseEditor","user":{"login":"heegaiximephoomeeghahyaiseekh","id":12368105,"avatar_url":"https://avatars.githubusercontent.com/u/12368105?v=3","gravatar_id":"","url":"https://api.github.com/users/heegaiximephoomeeghahyaiseekh","html_url":"https://github.com/heegaiximephoomeeghahyaiseekh","followers_url":"https://api.github.com/users/heegaiximephoomeeghahyaiseekh/followers","following_url":"https://api.github.com/users/heegaiximephoomeeghahyaiseekh/following{/other_user}","gists_url":"https://api.github.com/users/heegaiximephoomeeghahyaiseekh/gists{/gist_id}","starred_url":"https://api.github.com/users/heegaiximephoomeeghahyaiseekh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heegaiximephoomeeghahyaiseekh/subscriptions","organizations_url":"https://api.github.com/users/heegaiximephoomeeghahyaiseekh/orgs","repos_url":"https://api.github.com/users/heegaiximephoomeeghahyaiseekh/repos","events_url":"https://api.github.com/users/heegaiximephoomeeghahyaiseekh/events{/privacy}","received_events_url":"https://api.github.com/users/heegaiximephoomeeghahyaiseekh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Answered","name":"Answered","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-17T15:48:19Z","updated_at":"2016-05-23T09:10:00Z","closed_at":null,"body":"As an experiment, I tried embedding a Handsontable spreadsheet as a cell within another Handsontable spreadsheet. In order to do this, it was necessary to create a custom editor:\r\n\r\n[inner-spreadsheet.zip](https://github.com/handsontable/handsontable/files/268576/inner-spreadsheet.zip)\r\n\r\nThe editor attached here contains a modified version of `BaseEditor.prototype.beginEditing`, which doesn't convert the input value to `String`. This is necessary to implement editors for complex data types such as an embedded spreadsheet. In my case, the cell's value is an array of arrays, requiring a whole new spreadsheet to edit it. \r\n\r\nI suppose that there are existing editors that depend on the argument to setValue always being a string, but if not, then my version of `beginEditing` might work as the default `beginEditing` method.\r\n"},"comment":{"url":"https://api.github.com/repos/handsontable/handsontable/issues/comments/220926869","html_url":"https://github.com/handsontable/handsontable/issues/3510#issuecomment-220926869","issue_url":"https://api.github.com/repos/handsontable/handsontable/issues/3510","id":220926869,"user":{"login":"AMBudnik","id":10757813,"avatar_url":"https://avatars.githubusercontent.com/u/10757813?v=3","gravatar_id":"","url":"https://api.github.com/users/AMBudnik","html_url":"https://github.com/AMBudnik","followers_url":"https://api.github.com/users/AMBudnik/followers","following_url":"https://api.github.com/users/AMBudnik/following{/other_user}","gists_url":"https://api.github.com/users/AMBudnik/gists{/gist_id}","starred_url":"https://api.github.com/users/AMBudnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMBudnik/subscriptions","organizations_url":"https://api.github.com/users/AMBudnik/orgs","repos_url":"https://api.github.com/users/AMBudnik/repos","events_url":"https://api.github.com/users/AMBudnik/events{/privacy}","received_events_url":"https://api.github.com/users/AMBudnik/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T09:10:00Z","updated_at":"2016-05-23T09:10:00Z","body":"Thanks for sharing @heegaiximephoomeeghahyaiseekh \r\nUnfortunately currently this is how the code should look like. We already added a feature request that relates to rich editors but does not currently has a deadline."}}
{"actor":{"display_login":"AMBudnik"}}