Overriding the CalendarWeekCell

3 posts, 1 answers
  1. Jon
    Jon avatar
    14 posts
    Member since:
    Sep 2010

    Posted 15 Jun Link to this post

    Hi!

    I'm trying to override the CalendarWeekCell in the Calendar control for Vue.

    My goal is really just to be able to receive a click-event when the user clicks a week-number.

     

    I've checked this documentation: https://www.telerik.com/kendo-vue-ui/components/dateinputs/calendar/custom-rendering/#toc-cells-inside-the-week-column

    but it seems wierd to register a global instance of a component just to be able to override this cell.

    Is there any other way? Do you have an example?

    Or, even better, would you concider exposing the on-click-event for the weeknumbers (typically used to select the whole week when the user clicks it).

     

    Thanks!

     

    Jon

     

  2. Jon
    Jon avatar
    14 posts
    Member since:
    Sep 2010

    Posted 15 Jun in reply to Jon Link to this post

    Hi again!

    Forget it, I got it to work finally.

    But I still think it might be a good idea to expose the on-week-click event to remove the need for overriding the whole weekcell just to be able to respond to this click.

     

    Thanks!

  3. Answer
    Plamen
    Admin
    Plamen avatar
    3040 posts

    Posted 15 Jun Link to this post

    Hi,

    Thank you for sharing this feature. I have added it in out repository here and we will do our best to add it as soon as possible.

    If you have other questions please don't hesitate to contact us again.

    Regards,
    Plamen
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top