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
3790
getting px heights of header.
posted

I use this to get the hieghts

var headerSize = this.gridIDMap.option( "columns" )[c].headerText.visualLengthWidth()

//fyi
        String.prototype.visualLengthWidth = function ()
        {
            var ruler = document.getElementById( "ruler" );
            ruler.innerHTML = this;
            return ruler.offsetWidth;
        }

but this method has issues, so I was hopping for a better way.