I think you are right when you think I shouldn't use dps1.events[0]
The console log of the event "e" (the one I need) is :
Object { root={...}, data={...}, value=function(), more...}
where root is Object { id="mp_Content_DayPilotScheduler1", autoRefreshEnabled=false, autoRefreshInterval=60, more...} and where data is exactly the Object below:
The console log of the my "dps1.events[0]" (the one I think it is "e")
Object { InnerHTML="RV with John D", Start=dimanche 19 mai 2013 08:10:00, End=dimanche 19 mai 2013 16:10:00, more...}
So, I tried :
- dps1.events.first() which gives me the same as dps1.events[0]"
- dps1.events.list[0] is not available in this version of DayPilot
- dps1.events.find('John') throws a TypeError: iterator.call is not a function
Any ideas ?