I am trying to access the "viewDisplay" or "viewRender" function to detect when the view has changed, and if it has changed to the agenda week or agenda day views, to remove the scroll bar.
I have given it a widgetVar:
Code: Select all
<p:schedule id="schedule" widgetVar="jobsSchedule">
</p:schedule>
Code: Select all
<script type="text/javascript">
alert(jobsSchedule);
</script>