10401 : With Gantt, is there a simple way to make TimeItems read-only i.e. a user cant move them?

Question

With Gantt, is there a simple way to make TimeItems read-only i.e. a user cant move them?

Answer

Yes. each TimeItem has a TimeItemLayout (you may re-use timeItemLayouts to several timeItems). In the TimeItemLayout set these properties:
AllowChangeRow=false
 AllowChangeRow=false
 AllowLinkReAssignStart=false
 AllowLinkReAssignTarget=false
 AllowLinkSelectionStart=false
 AllowLinkSelectionTarget=false
 AllowMove=false
 AllowResizeEast=false
 AllowResizeWest=false

As you see the granularity to control what a user is allowed to do or not is high.

 

Leave a Reply