Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by MasComm Systems on Aug 05, 2008 12:43
open dhtmlx forum
Block selection mode is mostly working for us

Block selection mode is mostly working for us (http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=4125&a=5878) but with the code sample provided we are noticing that clicking inside a selection causes strange behavior. Double-clicking is impossible too.

Could you please correct this?

Answer posted by Support on Aug 06, 2008 03:05
The block selection covers part of grid area, and disappears after clicking on it, or on any other element in grid - this is expected behavior. 
The grid cells under selection area will not react on click event

After block selection area disappears cells will react on click and dbl-click event as expected. 
Answer posted by Mascomm Systems on Aug 08, 2008 14:03
I have tried the code provided at the link on multiple machines (both IE and Firefox), and it makes the same strange error. Once a box has been dragged out, clicking again inside the box selects a strange side-region of the grid. Again, this is with the code sample you provided us at index.php?s=normal&q=4125&a=5901.
Answer posted by Support on Aug 11, 2008 07:23
Problem confirmed , it was caused by previous modification and occurs only in your custom version of code. 
Updated js file attached to email, it works correctly in above scenario.
Attachments (1)