readonly mode detail view

at the readonly mode,if the “details” has a lot of words,the height is not enough.


Probably you run scheduler demo in desktop browser. There is an additional view below the event template in case of desktop init. So, you can try the following snippet to decrease the height of that view:

if(scheduler.config.readonly){ var nextElem = $$("scheduler").$$("eventTemplate").$view.nextSibling; var viewId = nextElem.getAttribute("view_id"); $$(viewId).define("height",45); // $$(viewId).hide(); }

Hi,i catch an error “nextView is undefined”


I’ve corrected the code in my previous post. Please check it again.