How to show in Datebox only years and months ?

asked 2010-12-08 05:50:54 +0800

Meko gravatar image Meko

I want to get only year and month from datebox not full day ,month and year. How can I do it ?

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-12-08 11:57:37 +0800

twiegand gravatar image twiegand
1807 3


Are you referring to what you get from the datebox after the user chooses a date or how the datebox is presented to the user?


link publish delete flag offensive edit

answered 2010-12-09 01:27:48 +0800

Meko gravatar image Meko

hi again. I can get only year and months with formating date box like

<datebox  id="searchDateBoxMonth" format="yyyy-MM" forward="onChange=onSearchDateBoxMonth"  ></datebox>

But also when presented to user It shows hole calender with day.I want to remove it only.

link publish delete flag offensive edit

answered 2010-12-09 02:11:55 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

You have to override some JS code to do so, or request a support service to info AT zkoss DOT org.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2010-12-08 05:50:54 +0800

Seen: 867 times

Last updated: Dec 09 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More