Our flexible Kanban board for managing tasks with drag drop


Post by greg »

Hi,
I have a custom taskMenu items, something like that:

features: {
      taskMenu: {
        items: {
          editTask: {
            onItem() {...}
          }
....

I would like to show/hide it or (disable/enable if hiding not possible).

I tried to call:

taskboardRef.current.instance.features.taskMenu.items.editTask.disabled =
      !editable;

with and without:

taskboardRef.current.instance.recompose();

I also try hidden instead of disabled, but with no luck.

Could you advise if/how I can do it, please?
Thanks


Post by Animal »


Post Reply