Our state of the art Gantt chart


Post by hari_chouhan »

Hi Team,

I am able to hide menu delete and add by using processItems based on the condition however unable to hide edit menu. sample code for hide is as below which i tried

processItems (records, items)
{ 
items.add= false;  // This is working fine
items.edit = false; // This is not working tried many things, this is just sample
}

Please let me know what i am missing here.


Post by Animal »

The names of all the items provided are here: https://www.bryntum.com/docs/gantt/#Gantt/feature/TaskMenu

The format in which the information about how the menu is going to be displayed is passed into processItems is here: https://www.bryntum.com/docs/gantt/#Gantt/feature/TaskMenu#config-processItems

An object is passed, not separate parameters.


Post by hari_chouhan »

Thanks Animal, i already checked this. can you tell me specific for Edit ? i added code also


Post by Animal »

Screenshot 2021-07-30 at 13.44.20.png
Screenshot 2021-07-30 at 13.44.20.png (70.37 KiB) Viewed 361 times

Post Reply