Ex Gantt Task Details

Support for v6.x of our Scheduling components


Post Reply
User avatar
ce.alicanonal
Posts: 89
Joined: Wed Sep 09, 2020 11:56 am

Ex Gantt Task Details

Post by ce.alicanonal »

Hello, I want to add a new field to the detail section of Ex Gantt 6xx task. but I don't know how to do this. Do you have any resources on this?


User avatar
arcady
Core Developer
Core Developer
Posts: 2531
Joined: Wed Mar 20, 2013 6:57 am

Re: Ex Gantt Task Details

Post by arcady »

Task editor plugin docs:
https://www.bryntum.com/docs/gantt-for-extjs/#!/api/Gnt.plugin.taskeditor.TaskEditor
The plugin represents a window wich contains a tab panel.
More details on the tab panel customization is here:
https://www.bryntum.com/docs/gantt-for-extjs/#!/api/Gnt.widget.taskeditor.TaskEditor


User avatar
ce.alicanonal
Posts: 89
Joined: Wed Sep 09, 2020 11:56 am

Re: Ex Gantt Task Details

Post by ce.alicanonal »

When I want to add such a field, where do I call it after saving it?

Attachments
vvvvvvvv.png
vvvvvvvv.png (65.44 KiB) Viewed 205 times

User avatar
arcady
Core Developer
Core Developer
Posts: 2531
Joined: Wed Mar 20, 2013 6:57 am

Re: Ex Gantt Task Details

Post by arcady »

If the field with such name exists on the task model then it will be save automatically.
If you need some custom way of saving new fields you can this event


User avatar
ce.alicanonal
Posts: 89
Joined: Wed Sep 09, 2020 11:56 am

Re: Ex Gantt Task Details

Post by ce.alicanonal »

How can I add such a field to the task model. I think this is the area you call the task model?
If not, do I need to add my area in picture 2?

Attachments
g1.png
g1.png (17.97 KiB) Viewed 199 times
6666.png
6666.png (55.7 KiB) Viewed 201 times
123123.png
123123.png (36.69 KiB) Viewed 201 times

User avatar
mats
Core Developer
Core Developer
Posts: 16568
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Ex Gantt Task Details

Post by mats »

I would recommend you to study this example: https://bryntum.com/examples/gantt-for-extjs/taskeditor/

Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
ce.alicanonal
Posts: 89
Joined: Wed Sep 09, 2020 11:56 am

Re: Ex Gantt Task Details

Post by ce.alicanonal »

yes i did that now i added a tab
thank you for help. One more question, how can I record the information I have written here?


User avatar
arcady
Core Developer
Core Developer
Posts: 2531
Joined: Wed Mar 20, 2013 6:57 am

Re: Ex Gantt Task Details

Post by arcady »

if the field is represented in your task model (like CustomField in the advanced demo) the changes made by user in the task editor will be automatically put into the record.
Then to send changes to the server you can use crud manager

Code: Select all

gantt.crudManager.sync()

Post Reply