Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should be possible to disable collapsing/expanding parent tasks #1240

Closed
pmiklashevych opened this issue Jul 24, 2020 · 0 comments
Closed

Should be possible to disable collapsing/expanding parent tasks #1240

pmiklashevych opened this issue Jul 24, 2020 · 0 comments
Assignees
Labels
feature request forum Issues from forum premium resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@pmiklashevych
Copy link

https://www.bryntum.com/forum/viewtopic.php?f=51&t=14773

Need to implement toggleParentTasksOnClick in vanilla Gantt

Gantt/lib/Gantt/view/GanttBase.js

    me.on('taskclick', me.onTaskBarClick, me);
.......
    onTaskBarClick({ taskRecord }) {
        // TODO: add a check
        if (!taskRecord.isLeaf) {
            this.toggleCollapse(taskRecord);
        }
    }
  • add a test
@pmiklashevych pmiklashevych added this to the Gantt 4.0.0 milestone Jul 24, 2020
@fabiojpoli fabiojpoli added the ready for review Issue is fixed, the pull request is being reviewed label Jul 24, 2020
@matsbryntse matsbryntse added resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Jul 28, 2020
@SergeyMaltsev SergeyMaltsev modified the milestones: Gantt 4.0.0, 4.0.0 Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request forum Issues from forum premium resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

4 participants