Answered: You can use the onBeforeCellRender event handler to add a custom CSS class to selected cells. At this moment, the Lite version doesn’t support the onBeforeHeaderRender event. However, you can use a c...
Answered: Try this var smallscreen = (window.screen.width < 800); if (smallscreen) { // use a weekly or daily calendar var dp = new DayPilot.Calendar("calendar", { //viewType: "Week", timeRangeSelectedHandling...
Answered: You can show the week numbers in the first cell using onBeforeCellRender. Example for ISO week number (week starting on Monday): dp.onBeforeCellRender = function(args) { if (args.cell.start.getDayOfW...
Is there a way to get an event width to be representative of its start and end time? As an example scenario, if I had an event that started at 12pm (12:00) and finished at 6pm (18:00), is it possible...
Answered: There are two options: 1. You can send the url from the server: class Event {} class Tags {} $events = array(); foreach($result as $row) { $e = new Event(); $e->id = $row['plan_id']; $e->text = $row[...
Answered: I can see the delete icon on this demo page (IE, FF, Chrome, Edge): http://javascript.daypilot.org/demo/month/eventdeleting.html Do see the problem in the demo as well? A few things to check: 1. The ...