Ciao a tutti, sto cercando di applicare una fix al componente flexigrid

leggendo questo

http://stackoverflow.com/questions/...-ie9-heightauto


non capisco bene come applicare la soluzione


Questo codice:


ie9Fix: function() {
if($(".bDiv").height() != $(".bDiv table").height() && p.height=='auto') {
$(".bDiv").css({height: $(".bDiv table").height() + 18});
}
},


lo aggiungo dopo
var g = {
hset: {},
nel file flexigrid.js


Corretto??


Per quanto riguarda invece queste due modifiche indicate nell'articolo:


In the g.dragEnd() function last row (this.ie9Fix()

In the g.addRowProp() you have to write a new event:




Nel file ho:

codice:
.... 
$(document).mousemove(function (e) { 
                        g.dragMove(e) 
                }).mouseup(function (e) { 
                        g.dragEnd() 
                }).hover(function () {}, function () { 
                        g.dragEnd() 
                }); 
...
e

codice:
... 
//add td & row properties 
                g.addCellProp(); 
                g.addRowProp(); 
                //set cDrag 
...

Mi aiutate ad apportare le modifiche correttamente?

Grazie