Documentation

dayTemplate

defines a template for a calendar day cell

function dayTemplate;

Example

view:"calendar",
dayTemplate: function(date){
    var html = "<div class='day'>"+date.getDate()+"</div>";
    if(date.getDay() == 5){
        html += "<div class='day_marker'></div>";
    }
    return html;
}

See also

  • samples
  • articles
  • Details

    The default template displays a date without any extra styling.

    Back to top