Hi all,
I want to ask how to validate if gantt.parse(data) have null value in start_date / end_date.
And in the column i want to show only text without start_date / end_date value.
In this case, me using php to create json for gantt.parse(data). In php file i create validate something like :
-
if (start_date != null) ? ‘start_date’ : null; ===> this validation still generate start_date / end date randomly in task layer.
-
if (start_date != null) ? ‘start_date’ : ‘someChar’ ===> this validation return error “invalid day index”.
Please help.
Regards.