I have to put the MultiDayView between DayView and WeekView. For to make sense had to be between DayView WeekView and not the last.
3 Answers, 1 is accepted
0
Accepted
Veronica
Telerik team
answered on 10 Nov 2010, 11:15 AM
Hi Rudá Cunha,
Yes, this is possible. Here's the code:
<script type="text/javascript">
functionpageLoad() {
var$ = $telerik.$;
$(".rsHeader ul li:contains(Multi-day)").insertBefore(".rsHeader ul li:contains(Week)");
$(".rsHeader ul").css("text-align", "center");
}
</script>
Please let me know if this was helpful.
All the best,
Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Just did some modifications, as if translated, would not work.
functionpageLoad() {
varmultiDay = $(".rsHeader ul li .rsHeaderMultiDay")[0];
varweek = $(".rsHeader ul li .rsHeaderWeek")[0];
if((multiDay) && (week)) {
multiDay = multiDay.parentElement;
week = week.parentElement;
$(multiDay).insertBefore(week);
}
}
0
Veronica
Telerik team
answered on 10 Nov 2010, 02:19 PM
Hello Rudá Cunha,
Yes, you are right that this won't work for localized strings. I'm glad you succeeded to reveal it!
Kind regards,
Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items