Turning Scheduler Footer Off MVVM

4 posts, 0 answers
  1. George
    George avatar
    49 posts
    Member since:
    Apr 2014

    Posted 16 May Link to this post

    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

  2. Stefan
    Admin
    Stefan avatar
    268 posts

    Posted 18 May Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. George
    George avatar
    49 posts
    Member since:
    Apr 2014

    Posted 16 Aug in reply to Stefan Link to this post

    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?
  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 18 Aug Link to this post

    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.
     
Back to Top
Kendo UI is VS 2017 Ready