I'm using
$find("datetimefield").editor.disable();
to disable datetime fields but the calendar does not become disabled. The user can still click on the calendar but the date they select does not populate the field. The problem is it usually throws an error or the calendar never closes. I know in 7.6 you had to get the DIV tag then go through the child nodes of the DIV and set it to disabled. This doesn't seem to work in 9. Does anyone know how to disable the calendar as well as the field?
Thanks