Hi
1. In ID column i want of predecessor and successor i want to show Different ID . There is one field ID for each task i want to show that field . Only for view Purpose
2. How to hide ID column in Tab
3. I am not able to see all the task in Successor and predecessor drop down. Steps to produce
1. Run the application
2. Expand only WBS:W1 don't expand other Parents task
3. Select any task inside it click on Edit
4. Go to Predecessor or Successor Tab . Select drop down you will be able to see only few task the task inside WBS:W4 will not come .
Support Forum
- Attachments
-
- advanced.rar
- (1.83 MiB) Downloaded 84 times
-
- SendDepen.png (56.69 KiB) Viewed 1141 times
Hello,
As a workaround you can manipulate the columns dynamically in beforeTaskEditShow handler:
We're planning to get this ticket fixed in v2.1.2. Please stay tuned!
https://github.com/bryntum/support/issues/123
Best regards,
Pavel
Tabs are internal classes. And providing grid configuration there is not supported out of the box. I've created a feature request for that: https://github.com/bryntum/support/issues/4681. In ID column i want of predecessor and successor i want to show Different ID . There is one field ID for each task i want to show that field . Only for view Purpose
2. How to hide ID column in Tab
As a workaround you can manipulate the columns dynamically in beforeTaskEditShow handler:
listeners : {
beforeTaskEditShow({ editor }) {
if (!editor.initialized) {
editor.initialized = true;
const
successorsGrid = editor.widgetMap.successorstab.grid,
predecessorsGrid = editor.widgetMap.predecessorstab.grid;
successorsGrid.columns.first.remove();
successorsGrid.columns.insert(0, {
text : 'Task ID',
flex : 1,
editor : false,
htmlEncode : false,
renderer({ record : dependency }) {
return dependency.fromEvent.id;
}
});
predecessorsGrid.columns.first.remove();
predecessorsGrid.columns.insert(0, {
text : 'Task ID',
flex : 1,
editor : false,
htmlEncode : false,
renderer({ record : dependency }) {
return dependency.toEvent.id;
}
});
}
}
},
Original report is here: viewtopic.php?f=51&t=129463. I am not able to see all the task in Successor and predecessor drop down.
We're planning to get this ticket fixed in v2.1.2. Please stay tuned!
https://github.com/bryntum/support/issues/123
Best regards,
Pavel
Pavlo Miklashevych
Sr. Frontend Developer
Please apply filter to editor.widgetMap.successorstab.taskCombo.store
https://www.bryntum.com/docs/gantt/#Core/data/mixin/StoreFilter
https://www.bryntum.com/docs/gantt/#Core/data/mixin/StoreFilter
Pavlo Miklashevych
Sr. Frontend Developer
Hi!
Try filter no `s` needed.
See docs here
https://www.bryntum.com/docs/grid/#Core/data/mixin/StoreFilter#function-filter
Try filter no `s` needed.
See docs here
https://www.bryntum.com/docs/grid/#Core/data/mixin/StoreFilter#function-filter