I am using all of Date Inputs, Native Components, Knedo UI for Vue.
In My project, I want to set Sunday, Monday , Saturday like first day in week according to the variable. How can I do that?
Thanks for reply.
1 Answer, 1 is accepted
1
Accepted
Konstantin Dikov
Telerik team
answered on 01 Mar 2024, 06:34 AM
Hello Fingate,
The first day in the week will be determined by the selected locale and the values within the "weekData" object for it. If you want to change the standard for the first date you can modify the weekData object before loading it. Here is an example demonstrating you can change the "US" locale first day of week to "Monday":
I would like to mark Saturday in blue and Sunday in red. The only information I have is the 'k-weekend' class that doesn't seem to distinguish Saturday from Sunday.
Is there a simple way to distinguish it? I don't want to mess with props if possible.
Konstantin Dikov
Telerik team
commented on 06 Mar 2024, 09:43 AM
Hi,
The easiest way would be to use that title value as CSS selector and target the 'Saturday' and 'Sunday' strings: