Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rindra on Nov 17, 2007 01:13
open dhtmlx forum
Javascript Error on IE 7(Object required)

Hello everybody!
I wonder if someone could help me.
I am using DHTMLXGrid v.1.4 build 70813 Standard Edition and whene I open a cell by double click,and select the content,I get a javascript error :object required at line 253 on IE7 but under Firefox I have no problem.
Could someone help me?
This is a code of my grid initializaztion:

myGrid[myGridLength] = new Array();
myGrid[myGridLength][0] = new dhtmlXGridFromTable(idTable);
colIds = colIds.substring(1,colIds.length);
myGrid[myGridLength][0].setColumnIds(colIds);
myGrid[myGridLength][0].setSkin("xp");
myGrid[myGridLength][0].enableKeyboardSupport(true);
myGrid[myGridLength][0].setUserData("","title",table.title);
myGrid[myGridLength][0].setOnEditCellHandler(function (stage,rowId,cellInd,val){
//here is something
});

Thank you in advance
Answer posted on Nov 19, 2007 02:22
It is hard to suggest anything, without ability to reconstruct problem.
Please try to update to latest dhtmlxgrid build
    dhtmlxGrid_v14_71022
which can be downloaded from http://dhtmlx.com/docs/products/dhtmlxGrid/download/dhtmlxGrid.zip - it contains few fixes which can cover your issue.

If problem still occurs for you - please provide any kind of sample where problem can be reconstructed. ( you can contact us directly at support@dhtmlx.com )