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

Question without answer for 11 months :/

Asked by Tom
1 year ago.

Hi,

I subscribed to dayPilot for javascript license 12 months ago and had only one issue, reported here
https://forums.daypilot.org/Topic.aspx/3828/click-on-events-not-working-when-scheduler-loaded-in-a-dyna

This issue got no response from DayPilot team.

Should I renew my subscription ?

Regards

Comment posted by Dan Letecky [DayPilot]
1 year ago.

Hi Tom,

My apologies for letting this question without an answer. I'd like to help you resolve the issue - unfortunately the GitHub project is no longer available. Can you please let me know if this problem persists with the latest DayPilot version?

Comment posted by Tom
1 year ago.

thanx for your response

the github repo url take the trailing point on your forum, correct url is :
https://github.com/jbarbede/ionic3-angular4-daypilot

We tried with april daypilot for javascript version, problem still persists

let me know if you need more informations ;)

Regards

Answer posted by Dan Letecky [DayPilot]
1 year ago.

Thanks for the update!

It looks Ionic does some magic here and it swallows the event click until you click something else in the Scheduler. There is a workaround which is already available - just add "ionicEventClickFix: true " to the config:

src/pages/home/home.ts
import { Component, ViewChild } from '@angular/core';
import { NavController } from 'ionic-angular';
import { DayPilot, DayPilotSchedulerComponent } from 'daypilot-pro-angular';

import { DpPage } from './../dp/dp';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {
  @ViewChild('scheduler') scheduler: DayPilotSchedulerComponent;

  events: any[] = [
    { start: "2016-09-09", end: "2016-09-10", id: 1, text: "Event 1", resource: "R1" }
  ];

  config: any = {
    ionicEventClickFix: true,
    // ...
  };

  constructor(public navCtrl: NavController) {
  }

  goToDynamic() {
    this.navCtrl.push(DpPage);
  }
}

Sorry that it took so long!

Please let me know if it doesn't help.

This question is more than 6 months old and has been closed. Please create a new question if you have anything to add.