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

Questions Tagged

Update headerHtml in onBeforeCellRender

I use angularjs and monthly calendar. I try to update the headerHtml in beforeCellRender event. onBeforeCellRender: function(args) { if (args.cell.start.getDay() === 1) { // first day of month args.c...

In Gantt Chart, can I add task to a particular group?

Hi, I noticed that I can create a new task from the front end, as long as rowCreateHandling is "Enabled". What I would like to do is for the user to be able to add a task as a child of a particular G...

First Resource column not the Resource name

Hello, We're looking into using this tool for a customer. One thing I cannot figure out is how to add a column BEFORE the resource name. Every example I see the first column is the resource name. And...

How to disable the percentage that is displayed in the task box as text ("51%") in Gantt

Answered: You can override the task box text using BeforeTaskRender event handler: The following example will show the task text instead of the percentage: void DayPilotGantt1_BeforeTaskRender(object sender,...

Modal dialog does not pop up when gantt is placed inside ajax update panel

I placed a gantt diagram inside an ajax update panel component from MS Visual Studio. An entry in context menu of a task should start a modal dialog. Action of this menu item is set to postback. But ...

Menu Child Menu Stuck Open

So, I have a child context menu. If I click on the parent menu item before the child is rendered, the parent menu goes away and the child menu is shown. I have no way to make the child menu go away w...

Hide ressource parent without children

Answered: How about this: // ... if (r.Children.Count > 0) { DayPilotScheduler1.Resources.Add(r); } // ... instead of: DayPilotScheduler1.Resources.Add(r); You can also filter the resources on ...

How to display bottom scroll bar in daypilot calendar

I am using daypilot calendar version 1.0 and asp.net 4.0. How to show bottom scroll bar in daypilot calendar.

How to show Horizontal Scroll bar in Day Pilot Calender

Hello Team , We are using Day Pilot Calendar version (5.8.1956.0) but there is no property for show horizontal scroll bar . So please let us know If we can show scroll bar horizontally or not ?. IF w...

$scope.scheduler is undefined

Answered: Then you should be able to start with this code and extend it step-by-step until you have all you need or until it stops working. If it stops working please check the last thing you added.

How to navigate to a special task in Gantt?

Answered: The latest sandbox build (8.1.3450) now supports ScrollToTask(id) method. It lets you set the vertical scrollbar position using the specifeed task id. It works during the initial page load and also d...

Headers with different height

Hello, Is it possible to configure a different height for each header? For example I have 3 headers, Month, Day and Hours, and I want to have Month 40px height and Day, Hours height with a height of ...

How to slide-up/slide-down the sub-titles when 'scheduler_default_tree_image_collapse'/'scheduler_default_tree_image_expand' is clicked ?

Answered: Unfortunately, sliding animation during expanding and collapsing the tree nodes is not supported at the moment. There is no way to add it using custom code.

Display only few hours

Answered: You can use a custom timeline: http://doc.daypilot.org/scheduler/timeline/ Or hide non-business hours: http://doc.daypilot.org/scheduler/hiding-non-business-hours/

No recurrent events in gantt view ?

Answered: The built-in recurrence support in the other controls (Calendar, Month, Scheduler) allows you to store the recurring events as a single event (with a rule assigned to it). This rule will be expanded ...

Does the DayPilot Scheduler respect WCAG 2.0?

Answered: Unfortunately, there are no guidelines on making the Scheduler compliant with WCAG 2.0 at the moment. However, you should be able to meet most of the requirements by using appropriate configuration (...

Add task in gantt view

Answered: At this moment you can create a new task by entering the name first (in a special row): http://www.daypilot.org/demo/Gantt/TaskCreating.aspx This will fire RowCreate event where you can create a new ...

How to show a special date between start and end date in Gantt

Answered: Since build 8.1.3445 you can use ScrollTo() on the server side. protected void Page_Load(object sender, EventArgs e) { // ... if (!IsPostBack) { DayPilotGantt1.StartDate = DateTime...

Scheduler - Browser context menu is shown on event right click

Answered: Hi, thanks for your reply. I've tried with the last version and it seems ok!

How to disable context menu item via coding in asp.net code behind file.

Answered: protected void Scheduler_BeforeEventRender(object sender, BeforeEventRenderEventArgs e) { if (condition) { e.ContextMenuClientName = "DayPilotMenu1"; } } You can store your condition in e.value examp...

How to Add Date with Day like (Mo, Tue, We, Thu, Fri, Sat, Sun) in two rows in header

Answered: You can use the following configuration: <DayPilot;DayPilotScheduler ... > <TimeHeaders> <DayPilot:TimeHeader GroupBy="Day" Format="%d" /> <DayPilot:TimeHeader GroupBy="Day" Form...

DayPilot Pro for JavaScript 8.1 - Active Areas examples

Answered: You can take a look at the following demo: http://javascript.daypilot.org/demo/scheduler/eventareas.html It adds a green active area to the current day using onBeforeCellRender: dp.onBeforeCellRend...

Export functionality PDF/PNG format

Hi, I am currently evaluating your product DayPilot-Pro for using it in our online application. But one of the most important requirement is to be able to export the calendar in PDF/PNG (for printing...

How to select a row in Gantt?

Answered: 1. You can use SelectedRows property to set the selected rows. Example that selects the first row: DayPilotGantt1.SelectedRows.Add(DayPilotGantt1.Tasks[0]); There is a bug in the latest release t...

Add days to calendar while onEventMoving or onEventResizing

Answered: Unfortunately, this scenario is not supported at the moment. Calling .update() redraws everything and the context is lost (including the drag and drop operation in progress).

AngularJS locale property not working

Answered: I've tested it and it seems to work (even with your code). Where exactly do you see English? In the demo (http://javascript.daypilot.org/demo/lite/), changing the locale affects the day headers and i...

args.cell.start.getDayOfWeek() goes from 1 to 6 (no 7 for Sunday)

Answered: It should return 0 for Sunday. Can you please give it a try with the latest sandbox build (1753)? This returns 0 as expected in the JavaScript console: new DayPilot.Date("2015-06-21").getDayOfWeek(...

Remove vertical border between cells?

Answered: You will need to hide it using CSS (scheduler_default_matrix_vertical_line) and add only the desired ones: 1. Create a custom grid cell class with { border-right: 1px solid #eee; } and add it to the ...

Daypilot month navigator getting issue

Answered: Normally this indicates a syntax error in JavaScript code, like this: alert(1 1); However, in this case it is probably a bad response from the server. DayPilot expects a JSON string which it is t...

IE 9 rendering issue JavaScript scheduler

Answered: I have tried to reproduce the issue using the latest sandbox build (8.1.1753): http://javascript.daypilot.org/sandbox/ I have added the Bootstrap CSS to the main scheduler page: <link rel="styleshe...
Previous Questions 2701-2730 of 5130 Next