Month view: more day items hyperlink
Posted: 13 Mar 2019 05:51
I have an app that uses multiple schedulers in one frame. When I select Month view and click on the more items for any day, the popup does not display.
Attached is the HTML file for the page and also attached is the Chrome debugger generated error file.
Help please....
TIA.
P.S. May me worth noting that I am creating the schedulers at run-time.
Attached is the HTML file for the page and also attached is the Chrome debugger generated error file.
Help please....
TIA.
P.S. May me worth noting that I am creating the schedulers at run-time.
- Code: Select all
lv_Scheduler := TIWCGJQScheduler.Create(Self);
{ After Create }
lv_Scheduler.EventFrame := MyFrame;
lv_Scheduler.JQSchedulerOptions.AutoLoad := True;
lv_Scheduler.JQSchedulerOptions.ShowDay := Date;
lv_Scheduler.Parent := lv_Panel;
lv_Scheduler.Name := 'schdlr' + lv_Str;
lv_Scheduler.Align := alClient;
lv_Scheduler.OnGetData := SchedulerApptGetData;
lv_Scheduler.Font.Enabled := True;
lv_Scheduler.StyleRenderOptions.RenderFont := True;
// lv_Scheduler.LoadHidden := False;
lv_Scheduler.JQSchedulerOptions.CacheEvents := False;
lv_Scheduler.JQSchedulerOptions.AutoLoad := False;
lv_Scheduler.JQSchedulerOptions.ReadOnly := True;
lv_Scheduler.JQSchedulerOptions.ShowEditBtnOnNewEvent := True;
lv_Scheduler.EventContextMenu := iwcgjqcntxtmn1;
lv_Scheduler.JQSchedulerOptions.OnViewChange := nil;
lv_Scheduler.JQSchedulerOptions.View := TIWCGJQSchedulerView(cboViews.SelectedIndex);
lv_Scheduler.JQSchedulerLocale.DateFormat.DayWeekViewDateFormat := 'ddd dd-mm-yy';
lv_Scheduler.JQSchedulerLocale.DateFormat.MonthViewDateFormat := 'dd-mm';
lv_Scheduler.JQSchedulerLocale.DateFormat.WorkingFormat := 'dd-mm-yy';
lv_Scheduler.ZIndex := 1000;
{ init scheduler }
lv_Scheduler.OnInitSchedulerFrame := SchedulerInitAppointmentFrame;
{ Frame to Event }
lv_Scheduler.OnSchedulerFrameControlsToEvent := SchedulerSchedulerFrameControlsToEvent;
lv_Scheduler.OnEventToSchedulerFrameControls := SchedulerEventToSchedulerFrameControls;
if gv_ColorCount = 0 then
begin
qryTreatments.Close;
qryTreatments.Open;
end;
lv_Scheduler.JQSchedulerOptions.ColorArray := gv_SchedulerColourArray;