CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Don't show event frame

by Davide » 15 Sep 2016 10:35

Hello,

Cause I need to show the selected event details on the same form where the calendar resides I would like to click on one event on the scheduler and retrieve the event Id without showing any event dialog frame.
Is it possible ?
How can I do that ?

Thank you,
Davide
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Jorge Sousa » 15 Sep 2016 14:36

Hi

Yes it's possible

Set Scheduler.JQSchedulerOptions.FastCRUD := True

and trap the events

Scheduler.JQSchedulerOptions.OnView
Scheduler.JQSchedulerOptions.OnEdit

example of the event handler:

procedure TCGIWJQSchedulerFrame.SchedulerJQSchedulerOptionsView(Sender: TObject; AParams: TStringList);
var
Data: ISuperObject;
begin
Data:= SO(AParams.Values['data']);
ShowMessage('ID = ' + Data.AsArray.S[idx_ID]);
end;
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQScheduler

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.