I am working on the grid and getting this error:
Error: this._pgn_parentObj has no properties
Source File: solo.com/core/dhx/grid/codebase/ … rid_pgn.js
Line: 67
Here is my code:
.grid_hover {
background-color:#7FFFD4;
}
mygrid = new dhtmlXGridObject(‘gridbox’);
mygrid.enablePaging(true,2,3,“pagingArea”,true);
mygrid.setSkin(“light”);
mygrid.setPagingSkin(“bricks”);
mygrid.setImagePath("/core/dhx/grid/codebase/imgs/");
mygrid.setHeader(" , , Name, Date Added, Date Modified, Modified By, Actions");
mygrid.setInitWidths(“50,50,200,200, 150, 200, 200”);
mygrid.setColAlign(“center,center,left,left,left,left, center”);
mygrid.setColTypes(“ch,ro,ed,ro,ro,ro,ro”);
mygrid.setColSorting(" , ,str,str,str,str");
mygrid.enableAutoWidth(1);
mygrid.enableAutoHeight(1);
mygrid.enableRowsHover(true,‘grid_hover’)
//mygrid.enableDragAndDrop(true);
//mygrid.setXMLAutoLoading("/core/xmlTree.php");
mygrid.init();
mygrid.loadXML("/core/xmlGrid.php?id=<?=$asset_category_id?>");