Skip to content

Filters not re-applied when sort after task edit #11332

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

Open
chuckn0rris opened this issue May 13, 2025 · 0 comments
Open

Filters not re-applied when sort after task edit #11332

chuckn0rris opened this issue May 13, 2025 · 0 comments
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer premium

Comments

@chuckn0rris
Copy link

Forum post

https://bryntum.com/products/gantt/examples/basic/

import { Gantt, StringHelper } from '../../build/gantt.module.js?484833';
import shared from '../_shared/shared.module.js?484833';

new Gantt({
    appendTo          : 'container',
    dependencyIdField : 'sequenceNumber',
    rowHeight         : 45,
    tickSize          : 45,
    barMargin         : 8,
    features:{
        filter:true
    },
    project           : {
        autoLoad           : true,
        loadUrl            : '../_datasets/launch-saas.json',
        autoSetConstraints : true ,// automatically introduce `startnoearlier` constraint if tasks do not use constraints, dependencies, or manuallyScheduled
            taskStore          : {
            expandWhenNewParent: true,
            sorters: [
                {
                    field: 'wbsValue',
                    ascending: true,
                },
            ],
            useOrderedTreeForWbs: true,
            wbsMode: 'auto',
            outdentIgnoringSiblings: true,
            forceWbsOrderForChanges: true,
            reapplySortersOnAdd: true,
            reapplyFilterOnUpdate: true,
            applyChangesetFilterSortTarget: 'changes',
        },
    },

columns : [
    { type : 'name', width : 250 }
],

// Custom task content, display task name on child tasks
taskRenderer({ taskRecord }) {
    if (taskRecord.isLeaf && !taskRecord.isMilestone) {
        return StringHelper.encodeHtml(taskRecord.name);
    }
}
});

Basic.mov
@chuckn0rris chuckn0rris added bug Something isn't working premium forum Issues from forum large-account Reported by large customer OEM OEM customer labels May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer premium
Projects
None yet
Development

No branches or pull requests

1 participant