iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I am trying to color a date range on the web schedule and when I get to the bottom of the schedule I can't seem to color the last slot.
SetBackgroundColor(elements1, planBgColor);
For example 11 PM to 11:59 PM, on a 15 min interval schedule should have 4 slots colored...I can only shade 3 slots, the last slot does not get shaded.
Hi Peter,
Instead of marking the end time to 11.59 PM, you can simply set them to its next day. So for instance, if we wanted to mark date from 19/02/08 06:00 AM to 19/02/08 24:00 AM, here is the snippet to do so:
arr.Add(new WebSchedulerDateRange(new Date(2008, 2, 19, 6, 0, 0), new Date(2008, 2, 20, 24, 0, 0), 2, "DateTime"));
Notice that at the end time, I set the date to the next date and the hour to 24. With this, it will meet the scenario of ours.
I hope it helps. Thank you and have a nice day.
Best Regards,
Andi Santoso
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname