Our state of the art Gantt chart


Post by shimnx »

Now we have a need is to add notes to a task that is Brytum with this feature, but we need to use the rich text editor, you have mentioned in the previous post temporarily does not support the rich text editor, so we need to define your own, now I built a simple example, I now the question is how to code the initiative to modify the remark field, Equivalent to how do I save information to the Bryntum local cache when I click the Confirm button (and let the user manipulate it by undo and undo), just like the save button in the Bryntum box itself

Attachments
屏幕截图 2022-08-10 141538.png
屏幕截图 2022-08-10 141538.png (9.79 KiB) Viewed 104 times
2.png
2.png (2.17 KiB) Viewed 104 times
1.png
1.png (18.12 KiB) Viewed 104 times

Post by shimnx »

You can run my demo

Attachments
advanced examples 3.zip
(7.24 MiB) Downloaded 18 times

Post by alex.l »

Hi shimnx,

Please review our demo https://bryntum.com/examples/gantt/taskeditor/
and guide https://bryntum.com/docs/gantt/guide/Gantt/customization/taskedit

If you don't use TaskEditor, all you need is update record.

taskRecord.noteField = noteValue;

Make sure you extended TaskModel with new added model fields.
This demo has an example of extended TaskModel https://bryntum.com/examples/gantt/advanced/

All the best,
Alex


Post Reply