Blank space, left and right arrows keys do not work on editi

Blank space, left and right arrows keys do not work on edition



My code:



mygrid = new dhtmlXGridObject(‘gridbox’);

mygrid.setImagePath(“dhtmlXGrid/imgs/”);

mygrid.setHeader(“ID,Title,Category,Cost price,Total price,Special,Special price,Featured,Public”);

mygrid.setColumnIds(“ProdID,Title,CatID,CostPrice,TotalPrice,isSpecial,SpecialPrice,isFeatured,isPublic”);

mygrid.setInitWidths(“65,*,200,75,75,55,100,55,55”)

mygrid.setColAlign(“center,left,left,left,left,center,left,center,center”)

mygrid.setColTypes(“ro,edtxt,coro,ed,ed,ch,ed,ch,ch”);

mygrid.enableTooltips(“false,false,false,false,false,false,false,false,false”)

mygrid.enableResizing(“false,false,false,false,false,false,false,false,false”)

mygrid.enableAutoHeight(true)

mygrid.enableEditEvents(true, false, false)

mygrid.setSkin(“xp”)



mygrid.setOnEditCellHandler(OnEditCell)

mygrid.setOnKeyPressed(OnKeyPress)

mygrid.init();

mygrid.loadXML(“products_qu.php?”+location.search+"&action=list");



var rowUpdater = new dtmlXMLLoaderObject(null,null);







307



10

    9.00

    14.99

    1

    0.00

    1

    1







//----------------------------------------------------------------------------

function OnKeyPress(code)

{

//catch Esc key

if ((mygrid.editor) && (code==27))

    {

    isCanceled=true;



    mygrid.editStop();

    currentCell.setValue(currentCellOldValue);

    

    return false;

    }



return true;

}



Problem confirmed and fixed. Please contact directly at support@dhtmlx.com and provide your ref. number - I will send you an updated file.