{"action":"created","issue":{"url":"https://api.github.com/repos/Swimlane/angular-data-table/issues/151","repository_url":"https://api.github.com/repos/Swimlane/angular-data-table","labels_url":"https://api.github.com/repos/Swimlane/angular-data-table/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/Swimlane/angular-data-table/issues/151/comments","events_url":"https://api.github.com/repos/Swimlane/angular-data-table/issues/151/events","html_url":"https://github.com/Swimlane/angular-data-table/issues/151","id":136398686,"number":151,"title":"[tree-mode] How set custom icon (svg, png)","user":{"login":"jaoued","id":2301050,"avatar_url":"https://avatars.githubusercontent.com/u/2301050?v=3","gravatar_id":"","url":"https://api.github.com/users/jaoued","html_url":"https://github.com/jaoued","followers_url":"https://api.github.com/users/jaoued/followers","following_url":"https://api.github.com/users/jaoued/following{/other_user}","gists_url":"https://api.github.com/users/jaoued/gists{/gist_id}","starred_url":"https://api.github.com/users/jaoued/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaoued/subscriptions","organizations_url":"https://api.github.com/users/jaoued/orgs","repos_url":"https://api.github.com/users/jaoued/repos","events_url":"https://api.github.com/users/jaoued/events{/privacy}","received_events_url":"https://api.github.com/users/jaoued/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-25T14:17:52Z","updated_at":"2016-02-25T15:06:21Z","closed_at":"2016-02-25T15:06:21Z","body":"Hi,\r\n\r\nFor column which contain **isTreeColumn** property, how i can set custom icon ?\r\ne.g : icon: 'path/to/icon.svg'\r\n\r\nThe documentation doesn't explain but actually we need to load this stylesheet :\r\n`<link href=\"http://fontastic.s3.amazonaws.com/Jnf54BZCm7mSjGCxNRbfp3/icons.css\" rel=\"stylesheet\">`\r\n\r\nThanks,\r\nRegards."},"comment":{"url":"https://api.github.com/repos/Swimlane/angular-data-table/issues/comments/188826974","html_url":"https://github.com/Swimlane/angular-data-table/issues/151#issuecomment-188826974","issue_url":"https://api.github.com/repos/Swimlane/angular-data-table/issues/151","id":188826974,"user":{"login":"amcdnl","id":227909,"avatar_url":"https://avatars.githubusercontent.com/u/227909?v=3","gravatar_id":"","url":"https://api.github.com/users/amcdnl","html_url":"https://github.com/amcdnl","followers_url":"https://api.github.com/users/amcdnl/followers","following_url":"https://api.github.com/users/amcdnl/following{/other_user}","gists_url":"https://api.github.com/users/amcdnl/gists{/gist_id}","starred_url":"https://api.github.com/users/amcdnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcdnl/subscriptions","organizations_url":"https://api.github.com/users/amcdnl/orgs","repos_url":"https://api.github.com/users/amcdnl/repos","events_url":"https://api.github.com/users/amcdnl/events{/privacy}","received_events_url":"https://api.github.com/users/amcdnl/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T15:06:21Z","updated_at":"2016-02-25T15:06:21Z","body":"Just replace icon font with your own, see the classes I'm using: https://github.com/Swimlane/angular-data-table/blob/master/src/components/body/CellController.js#L35"}}