{"action":"closed","issue":{"url":"https://api.github.com/repos/nadbm/react-datasheet/issues/48","repository_url":"https://api.github.com/repos/nadbm/react-datasheet","labels_url":"https://api.github.com/repos/nadbm/react-datasheet/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/nadbm/react-datasheet/issues/48/comments","events_url":"https://api.github.com/repos/nadbm/react-datasheet/issues/48/events","html_url":"https://github.com/nadbm/react-datasheet/issues/48","id":280895381,"number":48,"title":"Cells lose custom className after editing it","user":{"login":"sibutorovic","id":4060696,"avatar_url":"https://avatars1.githubusercontent.com/u/4060696?v=4","gravatar_id":"","url":"https://api.github.com/users/sibutorovic","html_url":"https://github.com/sibutorovic","followers_url":"https://api.github.com/users/sibutorovic/followers","following_url":"https://api.github.com/users/sibutorovic/following{/other_user}","gists_url":"https://api.github.com/users/sibutorovic/gists{/gist_id}","starred_url":"https://api.github.com/users/sibutorovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sibutorovic/subscriptions","organizations_url":"https://api.github.com/users/sibutorovic/orgs","repos_url":"https://api.github.com/users/sibutorovic/repos","events_url":"https://api.github.com/users/sibutorovic/events{/privacy}","received_events_url":"https://api.github.com/users/sibutorovic/received_events","type":"User","site_admin":false},"labels":[{"id":449404752,"url":"https://api.github.com/repos/nadbm/react-datasheet/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-11T05:04:56Z","updated_at":"2017-12-11T06:01:11Z","closed_at":"2017-12-11T06:01:11Z","author_association":"NONE","body":"If you set a custom className for any cell with your own styles and edit the cell (change its value) on the datasheet that cell's classes are reset.\r\n\r\nExample:\r\nBottom border on some cells with a custom class. \r\n\r\n![image](https://user-images.githubusercontent.com/4060696/33816364-1af4c1aa-de17-11e7-88bf-0833afbeb5c8.png)\r\n\r\nAnd after editing any of those cells:\r\n\r\n![image](https://user-images.githubusercontent.com/4060696/33816390-46ed4034-de17-11e7-8e81-b29c75521364.png)\r\n\r\nCell clases while selected:\r\n\r\n![image](https://user-images.githubusercontent.com/4060696/33816400-576dc992-de17-11e7-8379-ff6cd38ff1ac.png)\r\n\r\nClasses while editing:\r\n![image](https://user-images.githubusercontent.com/4060696/33816403-658111a6-de17-11e7-99bd-b7e11fe36be7.png)\r\n\r\nClasses after editing:\r\n\r\n![image](https://user-images.githubusercontent.com/4060696/33816425-8f94940e-de17-11e7-95ef-3550e28bd1e7.png)\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"nadbm"}}