How to disable overlaping in schedule component

UI Components for JSF
Post Reply
Zdenek19
Posts: 1
Joined: 15 Apr 2016, 13:03

29 Sep 2016, 21:35

Hi,

My configuration is:
Primefaces 6 (community edition); WildFly Full 10.0.0.Final; Mojarra 2.2.12 ; Java jdk1.8.0_92

I use schedule component.

----------------------
<p:schedule
value="#{scheduleBean.eventModel}"
widgetVar="scheduleWV"
resizable="false"
draggable="false"
timeZone="GMT+2"
axisFormat="H:mm"
timeFormat="H:mm"
columnFormat="dddd"
minTime="#{scheduleBean.startTime}"
maxTime="#{scheduleBean.endTime}"
scrollTime="06:00:00"
allDaySlot="false"
leftHeaderTemplate="today prev,next agendaDay,agendaWeek title"
rightHeaderTemplate=""
centerHeaderTemplate=""
aspectRatio="1.5"
view="agendaWeek">

<p:ajax event="eventSelect"
listener="#{scheduleBean.onEventSelect}"
update="eventDialogForm:eventDetailPG eventDialogForm:buttons
eventDialogLectorForm:eventDetailLecPG eventDialogLectorForm:buttons"
onstart="PF('blockOnLoad').show();"
oncomplete="PF('blockOnLoad').hide();" />

</p:schedule>
-------------------

I am trying put two ScheduleEvents in the same time.

My problem is, ScheduleEvents are overlapped.

Image

I want events side by side . Is there any solution for this problem, please?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 56 guests