Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Doug Brown on Mar 19, 2009 11:06
open dhtmlx forum
Block selection in grid hosted in floating div

I am evaluating dhtlmxGrid. I have a grid that is in a div with position:absolute (simulated dialog box). My problem is that when I call grid.enableBlockSelection(true) and make a selection using the mouse, the content show in the selection is from the window behind my floating div, _not_ from the grid.

I note that the grid selection element is also defined with position:absolute and assume that is what is causing this behavior.

Any solution?
Answer posted by dhxSupport on Mar 20, 2009 02:56

Does this issue reproduced only at Opera? Such behaviour is limitation of this browser. In Opera there isn't possibility to block standart selection. 

If this issue appears in some other browser please send us any kind of sample. You can send it directly to the support@dhtmlx.com

Answer posted by Doug on Mar 20, 2009 16:30
I have only tested this with IE 7. I will send you an example.
Answer posted by Support on Mar 23, 2009 05:46
Problem with IE7 confirmed, it was caused by using "filter" css rule for one of grid's container parents. 
IE has known issue with nested "filter" rules, which can be resolved only by disabling one of it, details about possible solutions sent by email.