{"action":"created","issue":{"url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/306","labels_url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/306/comments","events_url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/306/events","html_url":"https://github.com/angular-gantt/angular-gantt/issues/306","id":53490456,"number":306,"title":"Tree plugin parent row tasks","user":{"login":"renekorss","id":1494080,"avatar_url":"https://avatars.githubusercontent.com/u/1494080?v=3","gravatar_id":"","url":"https://api.github.com/users/renekorss","html_url":"https://github.com/renekorss","followers_url":"https://api.github.com/users/renekorss/followers","following_url":"https://api.github.com/users/renekorss/following{/other_user}","gists_url":"https://api.github.com/users/renekorss/gists{/gist_id}","starred_url":"https://api.github.com/users/renekorss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renekorss/subscriptions","organizations_url":"https://api.github.com/users/renekorss/orgs","repos_url":"https://api.github.com/users/renekorss/repos","events_url":"https://api.github.com/users/renekorss/events{/privacy}","received_events_url":"https://api.github.com/users/renekorss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-06T07:57:01Z","updated_at":"2015-01-10T08:36:05Z","closed_at":null,"body":"I am trying to use tree plugin. If my parent row has tasks, no rows get showed at all. Is parent row tasks supported?\r\n\r\nAlso, I would like to have feature: if parent row is collapsed (childs hidden), then child row tasks sould move to parent row. And if opened, then move back to previous position. Is this possible? Maybe you can guide me, how can I achieve this? Probably this should be extra option for groups.\r\n\r\nFinaly, is there a way to collapse / uncollapse all rows with one button? Maybe you can easily add extra parameter ``allCollapsed``.\r\n\r\n`````\r\n<gantt-tree enabled=\"...\" header=\"...\" all-collapsed=\"boolean\">\r\n</gantt-tree>\r\n`````\r\n\r\nI could do it myself if you could guide me a little, just to get quickstart :)"},"comment":{"url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/comments/69448606","html_url":"https://github.com/angular-gantt/angular-gantt/issues/306#issuecomment-69448606","issue_url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/306","id":69448606,"user":{"login":"Toilal","id":1165758,"avatar_url":"https://avatars.githubusercontent.com/u/1165758?v=3","gravatar_id":"","url":"https://api.github.com/users/Toilal","html_url":"https://github.com/Toilal","followers_url":"https://api.github.com/users/Toilal/followers","following_url":"https://api.github.com/users/Toilal/following{/other_user}","gists_url":"https://api.github.com/users/Toilal/gists{/gist_id}","starred_url":"https://api.github.com/users/Toilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toilal/subscriptions","organizations_url":"https://api.github.com/users/Toilal/orgs","repos_url":"https://api.github.com/users/Toilal/repos","events_url":"https://api.github.com/users/Toilal/events{/privacy}","received_events_url":"https://api.github.com/users/Toilal/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T08:36:05Z","updated_at":"2015-01-10T08:36:05Z","body":"@renekorss i think there's some work to do before beeing able to perform this ...\r\n\r\n1) Collapsed state has to be published somewhere. I first though of adding a collapsed property in the model, but maybe it's better to have some API methods `api.tree.isCollapsed(row)` and events `api.tree.collapsed` raised when this state change.\r\n\r\n2) There should be a way to override the list of tasks for each row."}}