Highlight dates based off of dates from SQL

4 posts, 0 answers
  1. Michael
    Michael avatar
    24 posts
    Member since:
    Jan 2016

    Posted 06 Jan 2017 Link to this post

    I'd like to use the calendar widget but what I need is to be able to highlight certain dates. I have a result set from SQL that returns pay dates. I want to highlight the paydates, which will ultimately act as a parameter when passed into another method to do other things.

    How would I go about doing this?

  2. Eduardo Serra
    Admin
    Eduardo Serra avatar
    119 posts

    Posted 09 Jan 2017 Link to this post

    Hello Michael,

    The best way to highlight some dates in the Kendo UI Calendar is to use templates; take a look at the following sample to see how it can be done. If you want to read a little more about Kendo UI Templates, take a look at our documentation here.

    In your case, the array used for the dates that will be highlighted could be created from the result set that you get from your SQL database.

    I hope this helps!

    Regards,
    Eduardo Serra
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Aleksandr
    Aleksandr avatar
    10 posts
    Member since:
    Jan 2015

    Posted 22 Jan Link to this post

    Is it only available in Kedno Jquery or Is it possible to highlight date on calendar for Angular 2+ ?

     

  4. Eduardo Serra
    Admin
    Eduardo Serra avatar
    119 posts

    Posted 23 Jan Link to this post

    Hello Aleksandr,

    The same functionality can be implemented in Angular; take a look at the following section of our documentation to see how it can be done.

    I hope this helps!

    Regards,
    Eduardo Serra
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top