Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.

How to hide scheduler month timeline time header

hpl123

Hi all,
Here is a tip on how to hide the time header in the timeline month scheduler view (i.e. hiding 1am , 2am etc. etc. and only showing 1/5 , 2/5 etc.).

Add the following CSS to a custom CSS file or your theme:

.k-scheduler-timelineMonthview > tbody > tr:nth-child(1) .k-scheduler-table tr:nth-child(2) {
    display: none;
}

customaware

I meant to post this earlier.....

Here is another way....

In the Initialisation Script of the Scheduler Query add....

var old = config.dataBinding;
config.dataBinding = function (e) {
if (old)
old(e);
var tb = $("#" + parser.m_widgetInfo.markupId).find (".k-scheduler-table");
$($(tb[1]).find ("tbody").children()[1]).hide ();
$($(tb[0]).find ("tbody").children()[1]).hide ();
};