I want to set the background color for the appointments in my Schedule, however, it seems that not all appointments are calling QueryCellInfo.
Specifically, some appointments that would normally be hidden by the overflow button are excluded.
There is a pattern to which appointments are excluded, see screenshots below.
This only happens when initially loading data. If I move or change an appointment, every appointment in the Schedule updates with correct background set.
Attached is a simple example where QueryCellInfo set the background color of all appointments to red:
function OnQueryCellInfo(args){
if(args.requestType == 'appointment'){
args.element.css("background", "#FF0000");
}
}
ShowOverflowButton(true):
ShowOverflowButton(false):
Example attached.
Attachment:
crudsample_416f9f47.zip