This is a migrated thread and some comments may be shown as answers.

Turning Scheduler Footer Off MVVM

3 Answers 71 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 17 May 2016, 12:50 AM

I would like to turn off the scheduler's footer. I see in the documentation that you can do this through javascript init, however I would like to do it through MVVM bindings. I tried to do data-footer="false", but nothing happens. Please advise.

 

Dojo demonstrating how footer still show even with data-footer set to false: http://dojo.telerik.com/UfoXO

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 18 May 2016, 03:48 PM
Hello George,

Thank you for your report. I confirm this is an issue with the present version of the Kendo UI Scheduler.  I have forwarded your report to our developers for fixing. In addition, I have updated your Telerik points for bringing the problem to our attention.

The Scheduler prototype does not have a default value set for the footer setting, which causes the MVVM mechanism to not recognize data-footer as a widget configuration option and skip it.

As a workaround, please set a default value for the footer by adding the following code before the kendo.bind() call.

kendo.ui.Scheduler.fn.options.footer = {};

Let me know if you need additional assistance.

Regards,
Stefan
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Tony
Top achievements
Rank 1
answered on 16 Aug 2016, 07:37 PM
This works great, however, if we have the show business hours/ show full day turn on,the footer seems to show again. How would i remove the footer with this feature turned on?
0
Vladimir Iliev
Telerik team
answered on 18 Aug 2016, 08:48 AM
Hi George,

From the provided information it's not clear for us what is the exact setup that you have - could you please provide runable example where the described behavior is reproduced? 


Regards,
Vladimir Iliev
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Scheduler
Asked by
Tony
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Tony
Top achievements
Rank 1
Vladimir Iliev
Telerik team
Share this question
or