Display only Year tab

First of all, thank you very much for this very awesome program! I have 2 questions:

  1. It seems the year tab doesn’t show if I attach the scheduler object in a layout.


The resulting screen is attached, it’s in year mode but displays the month tab.

  1. Is it possible to just show the year view and hide the rest?

Thanks again.

Hi Stanislav, any help on this please? Thanks.

This is a limitation of existing layout integration which doesn’t allow to use any tabs except of default ones

You can update dhtmlxcontainer.js with attached one, and use

scheduler=layout.cells(“c”).attachScheduler(null,“year”, “scheduler_here”);

where scheduler_here - id of div container with html snippet, same as for normal tabbar initialization. In such case scheduler will use html snippet with all tabs, but will render it inside the layouts cell.
dhtmlxcontainer.zip (7.58 KB)