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

Do I need to filter out events outside datarange shown in DayPilotScheduler?

Asked by John
15 years ago.

Hi,

I've got SQLdatasource as a source to a DayPilotScheduler. At the moment the Datasource returns all events.

Do I need to put in a WHERE statement on the Procedure the DS uses to just return bookings on the dates shown on the scheduler or does the Scheduler handle this?

If I have to do it, whats the best way to do it?

Comment posted by Dan Letecky
15 years ago.
You definitely should limit the result set. All the events are sent to the client during initial page loading and during subsequent CallBack (and PostBacks, of course). In addition, all the events are also stored in the ViewState unless you have turned it off for the control.

You should check the following topic:
http://forums.daypilot.org/Topic.aspx/208/daypilot_sql_sample_application
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.