{"action":"created","issue":{"url":"https://api.github.com/repos/blacklabel/grouped_categories/issues/46","labels_url":"https://api.github.com/repos/blacklabel/grouped_categories/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/blacklabel/grouped_categories/issues/46/comments","events_url":"https://api.github.com/repos/blacklabel/grouped_categories/issues/46/events","html_url":"https://github.com/blacklabel/grouped_categories/issues/46","id":49383379,"number":46,"title":"Problem in applying formatter","user":{"login":"samira2","id":6669692,"avatar_url":"https://avatars.githubusercontent.com/u/6669692?v=3","gravatar_id":"","url":"https://api.github.com/users/samira2","html_url":"https://github.com/samira2","followers_url":"https://api.github.com/users/samira2/followers","following_url":"https://api.github.com/users/samira2/following{/other_user}","gists_url":"https://api.github.com/users/samira2/gists{/gist_id}","starred_url":"https://api.github.com/users/samira2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samira2/subscriptions","organizations_url":"https://api.github.com/users/samira2/orgs","repos_url":"https://api.github.com/users/samira2/repos","events_url":"https://api.github.com/users/samira2/events{/privacy}","received_events_url":"https://api.github.com/users/samira2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/blacklabel/grouped_categories/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"pawelfus","id":1453926,"avatar_url":"https://avatars.githubusercontent.com/u/1453926?v=3","gravatar_id":"","url":"https://api.github.com/users/pawelfus","html_url":"https://github.com/pawelfus","followers_url":"https://api.github.com/users/pawelfus/followers","following_url":"https://api.github.com/users/pawelfus/following{/other_user}","gists_url":"https://api.github.com/users/pawelfus/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelfus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelfus/subscriptions","organizations_url":"https://api.github.com/users/pawelfus/orgs","repos_url":"https://api.github.com/users/pawelfus/repos","events_url":"https://api.github.com/users/pawelfus/events{/privacy}","received_events_url":"https://api.github.com/users/pawelfus/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2014-11-19T12:48:19Z","updated_at":"2015-01-21T12:59:25Z","closed_at":"2015-01-02T14:20:24Z","body":"I faced a problem recently , I want to apply some format in category labels of each category,\r\nIt's working for all levels of grouped category but this format is not applying to final level of grouped-category.\r\nCould you help me to solve this problem?\r\n\r\nMy formatter :\r\n\r\nlabels:{\r\n  formatter: function(){\r\n    if (this.value.length > 10){\r\n        return this.value.substr(0,10) + \"...\";\r\n    }else{\r\n        return this.value;   \r\n    }                        \r\n  }\r\n}"},"comment":{"url":"https://api.github.com/repos/blacklabel/grouped_categories/issues/comments/70832256","html_url":"https://github.com/blacklabel/grouped_categories/issues/46#issuecomment-70832256","issue_url":"https://api.github.com/repos/blacklabel/grouped_categories/issues/46","id":70832256,"user":{"login":"pawelfus","id":1453926,"avatar_url":"https://avatars.githubusercontent.com/u/1453926?v=3","gravatar_id":"","url":"https://api.github.com/users/pawelfus","html_url":"https://github.com/pawelfus","followers_url":"https://api.github.com/users/pawelfus/followers","following_url":"https://api.github.com/users/pawelfus/following{/other_user}","gists_url":"https://api.github.com/users/pawelfus/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelfus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelfus/subscriptions","organizations_url":"https://api.github.com/users/pawelfus/orgs","repos_url":"https://api.github.com/users/pawelfus/repos","events_url":"https://api.github.com/users/pawelfus/events{/privacy}","received_events_url":"https://api.github.com/users/pawelfus/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T12:59:25Z","updated_at":"2015-01-21T12:59:25Z","body":"Sure, just download above plugin again, or directly from [here](http://blacklabel.github.io/grouped_categories/grouped-categories.js)."}}