Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kurt on Dec 10, 2008 23:59
open dhtmlx forum
Press left mouse button and drag the column.

Hi, team

I found an interesting thing when I press left mouse button and drag the gird's column to adjust the width.
If you do not release the left mouse and move the cursor out of the current IE browser ,
then you release the left mouse and move the cursor back to the grid ,you will found that you still adust the width freely.

Could you tell me how to solve that problem?

thanks.
Answer posted by Support on Dec 11, 2008 04:17
You can try to add next code to the grid's init

 dhtmlxEvent(document.body,(_isIE?"mouseleave":"mouseout"),function(e){
  if (e && e.relatedTarget && e.relatedTarget.tagName!="HTML") return;
  mygrid.stopColResize();
 })


It will stop resize process when mouse will go out of the window.