Contains tips for configurators working with Aware IM
hpl123
Posts: 2633 Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia
Post
by hpl123 » Wed May 04, 2016 10:28 pm
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: 2431 Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia
Post
by customaware » Wed May 04, 2016 10:40 pm
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....