Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Anil on Apr 10, 2008 12:40
open dhtmlx forum
Calendar with Gifs / Events displayed.

1) Is it possible to display a small icon / a marker along with the days e.g. say a tick mark, to show that certain event has happened on that day of the month etc. Something similar to wall calendar, we are using DHTMLXComponents all over and we want to be able to use the DHTMLXCalendar to be consistent across the app.

2) Is it possible to have a hyperlink from a given day on the calendar.
Answer posted by Support on Apr 11, 2008 02:52
>>1) Is it possible to display a small icon / a marker along with the days
Existing version of dhtmlxgrid doesn't support such feature, but oncoming one will support something similar

    myCalendar.setHolidays('2008.03.10,03.01');
For change appearance of holidays, you can redefine css class ".dhtmlxcalendar td.holiday" in dhtmlxcalendar.css
We plan to release updated functionality in nearest time - if you need it ASAP - please contact us directly at support@dhtmlx.com

>>2) Is it possible to have a hyperlink from a given day on the calendar.

There is no way to set direct hyperlink, but you can attach custom code to onClick event
  mCal.setOnClickHandler(function(date){
     if (mCal.getFormatedDate("%d/%m/%Y",date)=="11/04/2008")
      window.open("http://google.com");
   return true;})