How to hide scheduler month timeline time header

Contains tips for configurators working with Aware IM
Post Reply
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

How to hide scheduler month timeline time header

Post by 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:

Code: Select all

.k-scheduler-timelineMonthview > tbody > tr:nth-child(1) .k-scheduler-table tr:nth-child(2) {
    display: none;
}
Henrik (V8 Developer Ed. - Windows)
customaware
Posts: 2392
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: How to hide scheduler month timeline time header

Post by 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 ();
};
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Post Reply