Premium support for our pure JavaScript UI components


Post by galb@control.site »

Hi - i wonder if i can create a column type 'resourceassigment' and use it editor as a dropdown.
Something like this:

{
        type: 'resourceassignment',
        text: t('gantt_activity')!,
        flex: 1,
        editor: {
          type: 'dropdown',
        },
      },

i would like show the reasource assignment as items and let the user an option to pick one in a dropdown.
Is it possible? do i need to add 'items' field somehow?
thanks.


Post by Animal »

You can't just throw a combo in there.

Editing assigned resources is complex.

What kind if UI are you looking at that differs from:

Screenshot 2024-02-20 at 15.09.09.png
Screenshot 2024-02-20 at 15.09.09.png (60.76 KiB) Viewed 87 times

Post by galb@control.site »

So what are my options?
i need a simple drop down with option to select only one resource.


Post by mats »

This demo shows how to have single assignment, will it work for you? https://bryntum.com/products/gantt/examples/single-assignment/


Post Reply