This topic contains 2 replies, has 2 voices, and was last updated by floydus 10 years ago.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › General Discussions › Editors › Calendar › Hide previous and next month
Tagged: Angular calendar, bootstrap calendar, javascript calendar, jQuery Calendar, jqwidgets calendar, jqxCalendar
This topic contains 2 replies, has 2 voices, and was last updated by floydus 10 years ago.
I would like to hide the arrows for changing months, I haven’t found any option to do such.
I’ve been able to hide them by using the following code
$(".jqx-icon-arrow-left").css('visibility', 'collapse');
$(".jqx-icon-arrow-left").css('display', 'none');
$(".jqx-icon-arrow-right").css('visibility', 'collapse');
$(".jqx-icon-arrow-right").css('display', 'none');
but the thing is I need to do that a few seconds after it is displayed (setTimeout) ugly…
Also, is there a calendar fully loaded event I could use ?
Thanks for your time all.
Hello floydus,
Unfortunately, there is no such event.
I would like to suggest you one another widget – jqxDateTimeInput.
Please, take a look this example:
http://jsfiddle.net/e0jbs70L/
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com
I ended up doing such… and it works well, I post it here in case someone else wants to do the same…. 🙂
thanks anyway !
My initiating code…
$("#calendarContainerMemes").jqxCalendar({ width: '100%', height: '400px', culture: 'fr-FR', showOtherMonthDays: false, disabled: true, renderedHandler: function(numRendered) {
runCustomLookOnCalendar('calendarContainerMemes');
}
});
Inside render method…
render: function() {
startRendering = new Date().getTime();
if (!this.canRender) {
return
}
this.host.children().remove();
var c = this._renderSingleCalendar("View" + this.element.id);
var b = this;
this.host.append(c)
var end = new Date().getTime();
var time = end - startRendering;
if (this.renderedHandler) {
this.renderedHandler(time)
}
}
You must be logged in to reply to this topic.