how to set some GanttControl.TaskAttribute as read-only
Hello,
This is my problem :
In all of these attributes (below) I would like to set as Read-Only only the TaskNameMapping if it's possible ?
TaskIdMapping="Rank"
TaskNameMapping="Name" => ReadOnly:"true"
StartDateMapping="StartDate"
FinishDateMapping="EndDateGantt"
DurationMapping="RealisationTime"
ProgressMapping="Progress"
CostMapping="AmountHT"
Thanks!
SIGN IN To post a reply.
7 Replies
RA
Rachel A
Syncfusion Team
February 5, 2018 12:12 PM UTC
Hi Joshua,
Thanks for contacting Syncfusion Support.
We can achieve your requirement by enabling the ReadOnly property in GridTreeColumn StyleInfo class. Please find the sample in the following location.
Regards,
Rachel. A
JL
joshua liaud
February 12, 2018 01:58 PM UTC
ok it's fine, I have now an other problem, how set all the gantt control has read-only like the parameter 'IsEnable="false"' but with the all the scrollbar active ?
RA
Rachel A
Syncfusion Team
February 14, 2018 04:13 AM UTC
Hi Joshua,
We have achieved your requirement in the sample level by customizing the Gantt chart node style. Please find the demo sample from the following location.
Sample: GanttTest
Thanks,
Rachel. A
JL
joshua liaud
February 14, 2018 10:22 AM UTC
Thanks a lot for your time! It's work perfectly!
RA
Rachel A
Syncfusion Team
February 15, 2018 03:34 AM UTC
Hi Joshua,
Thanks for the update.
Please let us know if you need any further assistance .
Regards,
Rachel. A
TO
Tibor Olle
February 17, 2018 12:47 PM UTC
This works only for childes not for parent in columns....Parent items are editable
SG
Sridharan Gajendran
Syncfusion Team
February 19, 2018 12:36 PM UTC
Hi Tibor,
We have achieved your requirement to disable the parent task edit in Gantt grid by using QueryCellInfo event in the sample level. Please find the demo sample from the following location.
Sample: GanttTest
Regards,
Sridharan
SIGN IN To post a reply.
- 7 Replies
- 4 Participants
-
JL joshua liaud
- Feb 2, 2018 04:38 PM UTC
- Feb 19, 2018 12:36 PM UTC