Hello,
Anyone can help me to disable the ability to change and create events with "resourceTimeRanges". I have defined the resourceTimeRanges as below with the attribute "readOnly" = true :
"resourceTimeRanges"=> [
"rows" => [
[
'id'=>1,
"resourceId"=>900,
"startDate"=>"2024-02-26 14:00:00",
"endDate"=>"2024-03-31 16:00:00",
'name' => 'Occupied',
"color" => "gray",
"readOnly" => true,
"cls" => "hatch-large"
]
]
]
and in the calendar, I have enabled the features "timeRanges" and used the customer style.
The result is shown as follows and I can add/change the events in the gray zone.
How can I remove the ability to change and create events in the gray zone "occupied" in the picture?
thank you.