Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Micke on Nov 30, 2009 23:42
open dhtmlx forum
Custom Ligthbox Monthview added event on top of first

Hi

I'm trying to make a customization of the monthview. I have made my own custom Lightbox that talks with my backend through own API.
When saving an event , and calling updateEvent(evId) , the rendering of the event fails. It places the event on top of the list , on top of any previous rendered event.

I see that the event has:
_sorder: 0

is that why it's drawn at position 0 ?
Answer posted by Stanislav (support) on Dec 01, 2009 01:28
You can try to use 

            scheduler.render_view_data();

which will re-render full view. 

Also, there is a known issue in scheduler 2.0 when event placing in month mode can be incorrect in case of specific time combinations. ( will be resolved in 2.1 )