-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Nested groups in timeline #2300
Comments
I like this! I need this feature too! |
Sorry, I'm afraid I can't contribute to source code, my JS skills are awful :( I could help with ideas/testing or something like that, though. |
I hope I can get to this feature soon... I have a lot on my plate right now... I'll do my best |
@yotamberk, thank you so much! |
@yotamberk There are already |
I've done something like that in subgroups, but still missing the functionality asked for in this feature |
@mojoaxel, I've missed subgroups in docs, I'll try that. Also, as @yotamberk mentioned, subgroups don't completely solve this issue, since they aren't displayed as normal groups. |
@gerardp How do you expect the closed parent group to act? what Items should be shown in the parent? the sum of the items? all of the items of its children? |
@yotamberk |
So basically the parent should be the sum of all children but in merged items, agreed? |
@yotamberk |
But the parent still must be somehow limited to not be smaller than the last item end time. That's why I'm not sure what rules must apply on this parent group. Do we allow the children items to be movable anywhere? does the parent adjust? or are the children limited by the parent? |
@yotamberk |
I think for a start I'll make the parent group independent of its children. Any kind of logic will have to be done by the user. Give me a few days. I'm on it. |
Great! thank you @yotamberk !! |
* Fix groupEditable * Fix group drag in vertical direction bug * Fix indentation * Add initial nestedGroups property * Fix redraw order * Get nested groups hiding working * Add order to nestedGroups * Fix up example * Add support for intially closed nested groups * Add nested groups indentation * Fix indents * Add nested groups docs * Fix example * Revert indents * Add classes to nested and nesting group labels and add nesting group css * Use pure css for nested group icons * Remove commented off lines and unnecessary btn * Fix indents * Add support to showNested:false in group * Add semicolon * Remove empty lines
fixed by @yotamberk with #2416 |
Thanks! |
Thanks !! |
Hi! I'd like to use nested groups in timeline, is there a way to do so?
If it's not possible right now, could it be a feature?
I don't know if implementing infinite depth is necessary, I would personally be happy with max depth of 2 (one child and one parent). Probably setting any parent group as item's group should not be possible.
The text was updated successfully, but these errors were encountered: