search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

minCellHeight seems not work

Asked by Alberto Barbero
11 days ago.

I have try to use the property minCellHeight but seems does'n work ...

Alberto

<!DOCTYPE html>
<html>
<head>
    <title>Monthly Event Calendar</title>

    <!-- head -->
    <meta charset="utf-8"/>
    <meta name="referrer" content="no-referrer-when-downgrade" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../helpers/v2/main.css?v=2022.3.5440" type="text/css" rel="stylesheet"/>
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet"/>
    <script src="../js/daypilot-all.min.js?v=2022.3.5440"></script>

    <!-- /head -->
</head>
<body>

<!-- top -->
<template id="content" data-version="2022.3.5440">

    <!-- /top -->

    <div class="note">
        <b>Note:</b>

        Customize the component using <a href="https://builder.daypilot.org/month">Monhtly Calendar UI Builder</a>
        and download a ready-to-run project.

        Read more about the <a href="https://javascript.daypilot.org/month/">JavaScript monthly calendar</a>.
    </div>

    <div id="dp"></div>

    <script type="text/javascript">

        var dp = new DayPilot.Month("dp");

        // behavior and appearance
        dp.cellMarginBottom = 20;
        dp.cellMode=true;
       dp.minCellHeight=300;		

 
Answer posted by Dan Letecky [DayPilot]
10 days ago.

In the monthly calendar, it's necessary to use cellHeight:
https://api.daypilot.org/daypilot-month-cellheight/

New Reply
This reply is
Your name (optional):