Calendars nextPage with MVVM

asked 2017-10-02 19:30:06 +0800

ajamardo gravatar image ajamardo
21 3


I just started with ZK Calendar recently, and all the documentation that I've read so far is MVC, nothing for MVVM, and well, now I am looking for a way to change to next or previous week/month and I can't find a way to do it.

So, how's the best way to do so?

Thanks in advance!

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-02 23:56:37 +0800

ajamardo gravatar image ajamardo
21 3

I found a way to do it, checking the Calendars API reference, there is an attribute currentDate, that sets the beginning of the map view, so this plus the mold attribute, is enough to make it work.

link publish delete flag offensive edit


seems you found the right way... if you think of MVVM as a way to automatically call setters/getters via bind annotations then you don't need a specific documentation. In MVVM you simply use @load on a property when you would call the setter in MVC.

cor3000 ( 2017-10-03 10:43:32 +0800 )edit
Your answer
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

1 follower



Asked: 2017-10-02 19:30:06 +0800

Seen: 7 times

Last updated: Oct 02 '17

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