search envelope-o feed check
Home Unanswered Active Tags New Question

Active Questions

Time range selection in schedular has a delay when using touch rather than mouse

Answered: This is by design - starting the time range selecting immediately it would prevent grid scrolling. You can configure the delay using tapAndHoldTimeout (the default value is 300ms): http://api.daypilo...

Left Click Context Menu

Answered: You can open a context menu using javascript like this: menu.show(e); In the ASP.NET WebForms version, set EventClickHandling="JavaScript" and EventClickJavaScript="menu.show(e)". This assumes yo...

How do I change the color of individual row header cells?

Answered: In the latest build (8.1.2007) the resource.columns[] array supports .backColor and .cssClass properties (in addition to .html). Example: dp.resources = [ { name: "Room 101", id: "101", columns: [{ht...

How to set the scheduler timeline view?

Answered: You can set the number of visible days using Days property. Example: <DayPilot:DayPilotScheduler Days="10" ... />

How can I display the occupancy rate or the number of reservations per day in the timeline or a specific row ?

Answered: 1. If you want to display row summaries, you can add one more row header column and display the data there: http://doc.daypilot.org/scheduler/row-header-columns/ 2. If you want to display column summ...

Change of UI format for the creation and maintenance of recurring events

Answered: Yes, you can modify the event appearance and behavior using BeforeEventRender event handler: http://doc.daypilot.org/scheduler/event-customization/ The recurring events will have e.Recurrent property...

Incompatible Client Script Version

Answered: It looks like an old DayPilot.Mvc.dll is cached somewhere. The latest version of DayPilot.Mvc.dll (8.1.5813) works with client script version 1944. Client script version 707 is used by build 7.7.5654.

Custom Time Header and Tooltip in Scheduler

Answered: You can force a reload of the scheduler by calling .update(): http://api.daypilot.org/daypilot-scheduler-update/ With the progressive rendering options enabled (they are enabled by default) it is a r...

Open DayPilot for specific date + event and set focus - Example?

Answered: You can use .scrollTo(date, animation, target) method to scroll to a specific date: http://api.daypilot.org/daypilot-scheduler-scrollto/ You can use .scrollToResource() method to scroll vertically to...

How to remove DEMO text in DayPilotCalendar using DayPilot API with asp.net and C#

Answered: The "DEMO" indicates that you are using a trial version of DayPilot Pro. In order to remove it you need to purchase DayPilot Pro: http://www.daypilot.org/buy/

how to load events from two database table

Answered: Create a new SqlDataAdapter for the second table (da2) and call da2.Fill(dt) to add the data to the same DataTable (dt).

How to Refresh DayPilot Lite Scheduler after entering event

Answered: This happens because you access e.DataItem in your BeforeEventRender event handler but you don't load the events using DataBind() during the PostBack (ButtonRefresh_Click). The events are loaded from...

Drop events outside Scheduler

Answered: Unfortunately the Scheduler doesn't support that at the moment. There are two options: 1. You can implement the queue using a special instance of the Scheduler (i.e. one resource, set the row header ...

headerlevel

Answered: Sorry for the delay! This turned out to be a bug of the .update() method. It should be fixed now in the latest sandbox build (8.1.1981): http://javascript.daypilot.org/sandbox/ Let me know if there i...

Row Selection Highlight

Answered: It might be a CSS issue. You can check whether the CSS is being applied properly using Chrome developer tools - the row header columns should have *_rowheader_selected applied (where * is the theme n...

Element is not a known element

Answered: There are two requirements for the IntelliSense to work: 1. The DayPilot.dll must be referenced and reachable. 2. The "DayPilot" prefix must be registered - either in the page header or in web.config...

How to clear time range selection in OnTimeRangeSelected with TimeRangeSelectedHandlingType.Callback

Answered: Normally the time range selection gets cleared if you call Update() on the server side. If you don't do that for some reason you need to switch to JavaScript event handling and clear it manually: ...

Task moveDisabled

Answered: In the Gantt chart, each task is displayed in a separate row - which can be moved as well (in the tree hierarchy). That's why the properties are separate for the row (data.row) and the box in the gri...

Hours allocated/worked for resources

Answered: This depends on the logic. There are two possible approaches: 1. Use a custom color of the grid cells to indicate the allocated hours (from-to). You can use BeforeCellRender to set the color directly...

Scheduler in tab control

Answered: When you initialize a Scheduler that is in a hidden part of a page (like in case of a hidden tab) it is not possible to initialize the dimensions properly (all dimensions returned by the browser are ...
mvc
Previous Questions 2721-2740 of 5291 Next