Our state of the art Gantt chart


Post by jhughesoneplan »

I am using the new cell selection mode. I am trying to prevent a row from being editing. By using the beforeCellEditStart I am able to prevent clicking in to edit the cell. However when the cell is selected, you can still press delete on the keyboard and it removes the value. How do you prevent this?


Post by marcio »

Best regards,
Márcio


Post by jhughesoneplan »

That doesn't work. It is not in edit mode. The cell in question is read only.


Post by tasnim »

Hi,

Try setting the TaskModel to readOnly https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel#field-readOnly
This should be working for you.


Post by jhughesoneplan »

That doesn't seem to work either. Additionally columns like WBS can be dragged over. Also if the entire gantt is readOnly it allows you to drag as well.


Post by tasnim »

Hi,

It seems to be working fine with the latest version 5.3.2 here https://bryntum.com/products/gantt/examples/advanced/
I tried setting the Gantt to readOnly, and it works fine. I'm not able to reorder a task

What version are you using?


Post by jhughesoneplan »

Go here: https://bryntum.com/products/gantt/examples/cellselection/ Add the wbs column

{type:'wbs'}

and try to drag down. This is one example where the drag should not be working. We have many locations where drag is happening and shouldn't be. By drag I am talking about the cell editing fillable, not dragging whole lines. FillHandle feature


Post by tasnim »

Hi,

Thanks for the report. Opened a ticket to investigate it. Here it is https://github.com/bryntum/support/issues/6546


Post Reply