Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Khan
22
Views
4
Comments
yearly calendar....
Question
hi all,
i copied the early calendar from Vacations apps and using it in my application, i set the properties and it is working..
but problem is in calendar week end days are saturday and sunday(their color are different by other working days).see the image below...
and here weekend days are friday and saturday...so can i chang the weekend days color...
any help....
Regards..
Israr..
Vasco Pessanha
Hello Israr,
You are rendering a calendar from 2011 using a current date ("Start Date" parameter) in the year 2012. Can you try to set the "Start Date"'s year to 2011?
For example: "Start Date" = NewDate(2011,Month(CurrDate()),Day(CurrDate())).
Best Regards,
Vasco Pessanha
1 reply
31 Jan 2012
Show thread
Hide thread
Khan
hi Vasco,
thank you for your time,ans startdate = currdate(), it will show the current year calendar...so its working,its not problem.
problem is how to chang color of weekend days...? if u see the first month january in calendar, u will see weekend days are 1.2, 8.9, 15.16, so on.
but here weekend days are 31.1, 7.8, and 14.15. so i want to change their color.
Thank you....
Regard
Israr,,...
Hélio Dolores
Staff
Hi Isar,
The calendar is a Javascript generated image made by an expression on the block.
You'll probably need to change the following code on the script (search for that on the code):
var
weekend
=
[0,6];
to
var
weekend
=
[5,6];
But I'm not sure if that's enough..
:)
Regards,
HD
1 reply
31 Jan 2012
Show thread
Hide thread
Khan
Hi HD,
thank you so much...
thats enough, and its works..
thank you again...
Regards..
Israr.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...