adjustColumnSize

Dear SupportTeam



I am using adjustColumnSize function of dhtmlxGrid.

It works perfectly OK in case of IE, Column size is set as per call data with a great precision.

But in FF, sometimes column size gets more or less than cell data.

Mostly when we have call data as “iiiiiiiiiiiiiiiiiiiiii” or “WWWWWWWWWWW”.

I think we need to change/modify this line.

z=z.childNodes[cInd].textContent.length*7;

Can/How we change this line?



Thanks





The problem caused by specific of DOM model in FF, it doesn’t allow to get real width of TD elements ( IE allows such operation )
Because real width of element not known the rough calculations used instead, they work fine for default fonts but still not perfect.

Unfortunately we don’t see any other way to detect real size of text in FF.