Active Questions
How to disable moving certain events
Answered: It looks like you are using the ASP.NET syntax. In JavaScript, the property name is "moveDisabled".
dp.onBeforeEventRender = function(args) {
args.data.moveDisabled = true;
};
See also: https...
Angular Gantt Chart different Tasks in same one row
Answered: Only the Scheduler component can display multiple events/task in the same row. But it supports event links as well: https://javascript.daypilot.org/demo/scheduler/eventlinks.html
Can't refresh daypilotscheduler
Answered: If you need to update two controls at once in ASP.NET WebForms, there are two options: 1. You can place both controls in an UpdatePanel and use PostBack event handling. In the event handler, you will...
Click on a eventLink and make some
Answered: Hi Vane, The latest sandbox build (2019.4.4122) now supports onLinkClick and onLinkClicked events. https://javascript.daypilot.org/sandbox/ It will let you implement this logic but it will also requi...
Tutorial for Asp.Net Core
Answered: There is a tutorial that shows how to use the Pro version in an ASP.NET Core application: https://code.daypilot.org/31735/javascript-weekly-calendar-asp-net-core This project will work with the Lite ...
onBeforeRowHeaderExport never called
Answered: This was a regression that should be fixed now in the latest build (2019.4.4124+). Please let me know if the problem persists.
Angular DayPilot.Scheduler Object Missing on Gantt
Answered: Accessing the internal "scheduler" object is a fallback solution and that's why the scheduler property is not included in the TypeScript definitions. You'll be able to access it if you cast the sched...
How to implement a "Previous" and "Next" buttons
Answered: You can take a look at the main MVC Scheduler demo: https://mvc.daypilot.org/demo/Scheduler/ It includes Next/Previous buttons which use commandCallBack() method to invoke Command event on the server...
How to get full JSON from Gantt Chart
Answered: The current task tree state is available in tasks.list: https://api.daypilot.org/daypilot-gantt-tasks-list/ Whenever a task is changed on the client side this array is updated so it always has up-to-...
Regarding Date
Answered: Please take a look at this tutorial which shows how to let users change the visible range: https://code.daypilot.org/27338/angular-scheduler-date-navigation
Change the backColor based upon event value
Answered: Yes, you can do that using onBeforeEventRender event handler. Please take a look at the examples in the docs (the following link is for the Scheduler): https://doc.daypilot.org/scheduler/event-custom...
Weird Display of Navigator and Calender
Answered: The values should be numbers, not strings:
nav.titleHeight = 20;
nav.dayHeaderHeight = 20;
// and
dp.headerHeight = 20;
dp.allDayEventHeight = 20;
Let me know if it didn't help.
How to resize Navigator
Answered: In version 2019.2.3871, the default values of the following properties were changed from 20 to 30: cellWidth, cellHeight, dayHeaderHeight, titleHeight You can use the old values to make the Navigator...
Uncaught TypeError: Cannot read property 'x' of null when dynamicLoading is enabled and no cells are visible
Answered: This issue should be fixed now in the latest sandbox build (2019.4.4122): https://javascript.daypilot.org/sandbox/ Please let me know if the problem persists.
Support for right click in the time header
Answered: The latest sandbox build (2019.4.4122) now supports onTimeHeaderRightClick and onTimeHeaderRightClicked events (there is no functional difference between them as there is no default action for the ri...
Angular Gantt Chart Cannot filter
Hi, The scheduler have rows.filter this function. https://doc.daypilot.org/scheduler/row-filtering/ However on gantt didnt have rows filter function https://doc.daypilot.org/gantt/rows/ How to do fil...
Cell duration when using manual time line
Answered: Unfortunately it's not possible to use custom grouping of the time headers. Only the predefined values are available (see https://doc.daypilot.org/scheduler/time-header-groups/). If you want to show ...
Set height for event moving indicators
Answered: The onEventMoving event handler now supports args.left.height and args.right.height in the latest sandbox build (2019.4.4123): https://javascript.daypilot.org/sandbox/ Please let me know if it doesn'...
Add expand collapse buttons to resource-row when using dynamic event rendering
I would like to add a plus and minus button to expand collapse row depending on if it has groups that is collapsed or expanded. But the rows are rendered before the data has returned thus my buttons ...
How to show crosshair on scheduler by code
Hi, I would like to show crosshair on a cell not only moving mouse on scheduler, but also by code: at example for highlighting the last cell (or event) user worked on. I was able to scroll to myFocus...