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

Search for value

Asked by Anonymous
4 years ago.

Hi! Is there anything like search for event?
Let say, I would like to show in calendar event based on ID or some other unique value.
So after button is pressed it will automatically "jump" to that week/month.

  • Probably it has something to do with function LoadTimeline(date)
Answer posted by Dan Letecky [DayPilot]
4 years ago.

There is an API to find events using the event id:

var id = "123";
var e = dp.events.find(id);

Then you will be able to focus it using scrolling methods:

dp.scrollTo(e.start());
dp.scrollToResource(e.resource());
This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.