-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi All, I am using ZK calendar 3.5 version. I have calendar functionality working successfully, I wanted to add to arrow buttons on top of calendar to show the old dates. I have added following code.
Calendar.zul ################################################################ <zk> <window id="win" border="none" apply="org.adempiere.webui.Calendar.CalendarController" height="100%" width="100%">
<calendars model="@{win$composer.getCalendarModel}" id="cal">
<toolbar sclass="calendar-toolbar">
<divarrow type="arrow-left" command='cal.previousPage();Events.postEvent("onCreate", label, null);'/>
<divarrow type="arrow-right" command='cal.nextPage();Events.postEvent("onCreate", label, null);'/>
</toolbar>
</calendars>
<chart id="piechart" title="Type of Event?" width="400px" height="250px" type="pie" />
</window>
</zk> #####################################################
divArrow.zul
######################################################
##################################################################
Some how arrow buttons are not appering, when I click on whitespace on top of calendar content is moving i.e. dates in calendar moving perweek. Please help me to fix the problem,
Hi
I saw the ZK calendar demo has a arrow button on the top leaf, ZK Calendar demo, is this you are looking for ??
if you would like to customize ZK calendar, you could refer to ZK Calendar Essentials
by the way, on your divArrow.zul, I saw
<div class="tabs arrows"
action="onmouseover: zk.addClass(this, 'arrow-over'); onmouseout:zk.rmClass(this, 'arrow-over')">
do you use zk 3 ? and do you check if this div has added the CSS class?
Yes I want to get the arrow buttons same way it mentioned in the ZK Calendar Demo.
I read ZK calendar essentials and that gave me insight about calendar. But to add arrrow buttons need some more investigation.
I am using ZK3.5.
Do you think if we don't add div to css, those buttons will become invisible?
Asked: 2010-05-11 05:24:53 +0800
Seen: 573 times
Last updated: Mar 27 '13