Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Firefox: Version 3.6 : document.getBoxObjectFor(elem) no more supported...
posted

bad thing....

did you have a version where you use the new function????

Firefox 1.6 chrashes here:

 

function igtbl_getAbsBounds(elem, g, forAbsPos)
{
	var r = new Object();
	if (ig_csom.IsIE && elem.getBoundingClientRect)
	{
		var rect = elem.getBoundingClientRect();
		r.x = rect.left;
		r.y = rect.top;
		r.w = rect.right - rect.left;
		r.h = rect.bottom - rect.top;
	}
	else if (ig_csom.IsFireFox && document.getBoxObjectFor(elem))
	{
		var rect = document.getBoxObjectFor(elem);
		r.x = rect.x;
		r.y = rect.y;
		r.w = rect.width;
		r.h = rect.height;
	}
	else
	{
		return igtbl_getAbsBounds2(elem, g);
	}

.....

now to use: elem.getBoundingClientRect(); 

is this corrected in Vol.2 2009 ?????

 

 


 

 

 

Parents
No Data
Reply
  • 140
    Suggested Answer
    posted

    can i change the script in

    D:\Programme\Infragistics\NetAdvantage for .NET 2009.1\ASP.NET\CLR3.5\Scripts\ig_WebGrid.js

    to repair the control??????

    If i change this script, the project still uses the old one....

     

Children