CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Retirieving dat in OnGetData

by Davide » 01 Apr 2017 12:02

Hello,

I'm using JQuerySuite 3.5.0.197 (last release), IW 14.1.8, Delphi Berlin Update 2.
I'm trying to load data from a dataset in the scheduler OnGetData event.
I'm showing the month view on the scheduler but in the OnGetData event the start and finish date parameters are always set to 0.
I try to set the ShowDay property or use the GoToDate method in my OnCreateForm event without any success.
What I'm doing wrong?

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

by Davide » 03 Apr 2017 10:24

Hello,

I found my mistake.
When I show a form with a scheduler inside through an Ajax event (Button.Click in my case) the OnGetData is not called by the Scheduler.GoToDate I wrote in the Form.OnCreate.
Setting up the Ajax property of the button to False solve the problem.

Greetings,
Davide
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Alexander Bulei » 03 Apr 2017 11:32

Hi Davide,

I found my mistake.
When I show a form with a scheduler inside through an Ajax event (Button.Click in my case) the OnGetData is not called by the Scheduler.GoToDate I wrote in the Form.OnCreate.
Setting up the Ajax property of the button to False solve the problem.


Good ;)

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQScheduler

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.