Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Daniel on Mar 04, 2009 02:39
open dhtmlx forum
Double click event not fired if another grid is loading due to select event

Hi,

If the select event (onRowSelect) triggers another grid to be reloaded (using loadXML) then the double click event (onRowdblClick) does not seem to come through. Adding a timeout before calling loadXML increases the chance of getting the double click event. But is there a way to ensure that loadXML does not block the double click event?

Thank you
Answer posted by Support on Mar 04, 2009 03:05
The grid has not any native logic, which can block onRowDblClicked event 

Please be sure that 
- you not showing any alerts from onRowSelect event ( it will block double-click processing ) 
- changes in onRowSelect doesn't affect the position of grid on the screen or scrolling state of the grid ( if position will be changed - second click will be landed on different element, and dbl-click will not occur )