Initializing View Attributes
From Documentation
Revision as of 01:16, 12 March 2010 by Zkwikiadmin (talk | contribs)
ZK Calendar has several attributes which control how the user views the Calendar. The following table details ZK Calendar’s attributes and their usage.
Attribute | Usage | Default Value |
---|---|---|
readonly | Sets whether it is readonly | false |
firstDayOfWeek | Sets what the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France
|
system default |
currentDate | Sets the current date | today (depend on which timezone the system is using) |
days | Sets the days, that is, how many column should be displayed on the default mold | 7 (i.e. one week) |
dateFormatter | Sets the date formatter. In fact, there are five places in the calendar must have different date display | SimpleDateFormatter |
model | Sets the calendar model | null |
mold | Sets the calendar mold | default |
The example project is at Github