8 Replies Latest reply on Mar 12, 2009 9:44 AM by ttjhome

    How can a user-defined datamodel affect prev-month/next-mont

    ttjhome

      Hi
      I am using rich calendar with my own CalendarDataModel object. Each cell in current month can display an icon that set in CalendarDataModelItem . But it doesn't work for the previous month/next month , the cells in previous month/next month is orginal (just present day) . I found CalendarDataModel was not called when I clicked prev/next month button.The method getData(Date[] dateArray) in
      CalendarDataModel is called only once when calendar is rendered . Then how can I display an icon in day-cell not only in current month but also previous month/next month ?
      thank you in advance .