Our pure JavaScript Scheduler component


Post by liuxiang »

Like this demo: https://bryntum.com/examples/gantt/frameworks/angular/advanced/dist/advanced/
I find "SchedulerPro.widget.taskeditor.ResourcesTab.Grid"; But I can't find demo using angular . Can you provide some demo about this?

Thanks.


Post by tasnim »

I find "SchedulerPro.widget.taskeditor.ResourcesTab.Grid"; But I can't find a demo using angular. Can you provide some demos about this?

I don't understand, Could you please clarify what exactly you want to achieve?


Post by liuxiang »

In this tab display table
Image
Image


Post by liuxiang »

Can you provide some demos ?

Thanks


Post by tasnim »

Hi,
There are no resources tab available in our sources it has a docs mistake. I've created a ticket for that https://github.com/bryntum/support/issues/5283

It's already available in the general tab as a field.
Please check this guide on how to add a custom item https://bryntum.com/docs/scheduler-pro/api/SchedulerPro/feature/TaskEdit#adding-a-custom-item

Good Luck :),
Tasnim


Post by liuxiang »

Yes, I saw the configuration of this custom tab, but this is not what I wanted, what I want to implement is the function of the following figure
Image
I don't know if I can describe it clearly?


Post by tasnim »

Here is an example of how you can achieve it:

        taskEdit : {
            items : {
                newTab : {
                    title : 'CUSTOM TAB',
                    items : {
                        grid : {
                            type : 'grid',
                            columns : [
                                { text : 'Starts', field : 'start', width : 140 },
                                { text : 'Ends', field : 'finish', width : 140 }
                            ]
                        }
                    }
                }
            }
        }
Attachments
Screenshot 2022-09-21 132603.png
Screenshot 2022-09-21 132603.png (22.2 KiB) Viewed 360 times

Post by liuxiang »

OK,Thanks


Post Reply