{"action":"created","issue":{"url":"https://api.github.com/repos/reactabular/reactabular/issues/260","repository_url":"https://api.github.com/repos/reactabular/reactabular","labels_url":"https://api.github.com/repos/reactabular/reactabular/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/reactabular/reactabular/issues/260/comments","events_url":"https://api.github.com/repos/reactabular/reactabular/issues/260/events","html_url":"https://github.com/reactabular/reactabular/issues/260","id":195475163,"number":260,"title":"Highlight a formatted cell","user":{"login":"Ezekiah","id":4068481,"avatar_url":"https://avatars.githubusercontent.com/u/4068481?v=3","gravatar_id":"","url":"https://api.github.com/users/Ezekiah","html_url":"https://github.com/Ezekiah","followers_url":"https://api.github.com/users/Ezekiah/followers","following_url":"https://api.github.com/users/Ezekiah/following{/other_user}","gists_url":"https://api.github.com/users/Ezekiah/gists{/gist_id}","starred_url":"https://api.github.com/users/Ezekiah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ezekiah/subscriptions","organizations_url":"https://api.github.com/users/Ezekiah/orgs","repos_url":"https://api.github.com/users/Ezekiah/repos","events_url":"https://api.github.com/users/Ezekiah/events{/privacy}","received_events_url":"https://api.github.com/users/Ezekiah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-14T09:03:16Z","updated_at":"2016-12-14T09:58:01Z","closed_at":null,"body":"Hello,\r\nFrom my database I get a rowdata, a string with separators which I need to split, I do as folow : \r\n\r\n```\r\ncell: {\r\n        \t\r\n         property:'messages',\r\n          formatters: [(value, { rowData }) => {\r\n          \t\r\n          \tvar messages = rowData.messages.split('$$$$$');\r\n          \t\r\n          \tvar m_array = [];\r\n          \t_.each(messages, (m)=>{\r\n          \t\tm_array.push(<div>{m}</div>)\r\n          \t})\r\n          \r\n          \t\r\n        \t\treturn (\r\n        \t\t\t<div style={{'maxHeight':'100px', 'overflow-y':'scroll'}}>{m_array}</div>\r\n\t          )\r\n\r\n\r\n          }, search.highlightCell]\r\n        },\r\n        visible: true\r\n      }\r\n\r\n```\r\n\r\nHowever when I do that It writes [object, object] in the td, how can I highlight a formatted result of a column please ?"},"comment":{"url":"https://api.github.com/repos/reactabular/reactabular/issues/comments/266992398","html_url":"https://github.com/reactabular/reactabular/issues/260#issuecomment-266992398","issue_url":"https://api.github.com/repos/reactabular/reactabular/issues/260","id":266992398,"user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T09:58:01Z","updated_at":"2016-12-14T09:58:01Z","body":"`resolve.byFunction` is most likely what you need. That allows you to map a field with a function containing a resolver to a resolved value. So you would massage that rowdata to a good format right there."}}
{"actor":{"display_login":"bebraw"}}