Hi,
Could you please give some recommendations on how to create a column in Gantt similar in some way to ResourceAssignmentColumn?
We want to have a column for skills which needs to be similar to resource assignments.
- The column should show chips (non-closable) with task skills.
- Combo editor should also show those chips in the input field.
- In the editor picker we need to show a similar Grid as in the resource assignment editor picker: checkbox (checkboxOnly, showCheckAll, multiSelect), skill name column with filterbar, and skill level column (similar to units in the resource assignment editor picker).
Skills themselves have only "id" and "name" fields, but task.skills also have the "level" field. But we don't need such deep connections between skills and task skills as between resources and assignments.
I started by trying to copy and modify ResourceAssignmentColumn, AssignmentField, AssignmentPicker, and AssignmentGrid but it got too complicated.
In the attached files you see the current progress. So far data is displayed in the column and editor, and proper items are selected by default in the picker, but when I try to select something or set level, it's not saved.
As I understand there's an additional temporary store AssignmentsManipulationStore, and I just lost track of how data and event flow go, there are too many library internal things.
Also, now I am looking into TreeCombo, maybe it will cover our needs but I don't really understand how to manage stores in such case. I have an initial list of skills but each task's picker needs to show data based on what was selected for that task, so I can't have just one store.
Could you please give some recommendations on what approach to choose and what next steps should be in that approach?