dhtmlxGrid Pro : splitAt error on setImagePath

Hello,

the path variable when I use splitAt is null. What have I forgotten?

mygrid = new dhtmlXGridObject('gridbox'); mygrid.imgURL = "/js/codebase/imgs/"; ... mygrid.splitAt(3); mygrid.load("/recapitulatif/loadTableau.php");

The debug say "path"is null in dhtmlxgrid.js :

this.setImagePath=function(path){ path = path.replace(/imgs\/dhxgrid_[a-z]*\/$/,"imgs/");

Precision : in V3.0 it was OK. The error is in V4.6.

mygrid.imgURL = “/js/codebase/imgs/”;
Please, try to use the setImagesPath() method instead
docs.dhtmlx.com/api__dhtmlxgrid_ … spath.html

Thank you, it’s OK with setImagesPath.