Search code examples
schedulerdhtmlx

Custom layout for dhtml scheduler


I was using DHTMLX Scheduler in my MVC project. Everything is fine. But the default scheduler is occupying full screen space. And i am not able to include my own layout with Scheduler. Is there any possibilities to make this.

Thanks


Solution

  • scheduler occupies full size of its container, so you may wrap it with an element of predefined size, e.g.

    <div style="height:500px;width:700px"> <%= Scheduler.Render() %> </div> 
    

    Or you can explicitly set sizes of the scheduler

    scheduler.Height = 500;
    scheduler.Width = 700;