Categories | Question details Back To List | ||
enableSmartRendering I'm using smart rendering, but, when page opens a javascript error appears, talking about the dhtmlxGrid object does not support the property. The lines of code is: var meuGrid function loadGridmeuGrid(){ meuGrid = new dhtmlXGridObject('grid') meuGrid.setImagePath('../../../componentes/gridNovo/imgs/') meuGrid.setHeader('Columns, names, here') meuGrid.setColTypes('ro,ro,ro,ro') meuGrid.setInitWidths('100,100,100') meuGrid.init() meuGrid.preventIECaching(true) meuGrid.enableMultiselect(false) meuGrid.enableSmartRendering(true,2000,20,20) meuGrid.loadXML('http://urlHere/xmlGrid.asp') } It's funny the error line is the last, the loadXML method's line. When I comment the line that calls enableSmartRendering the code runs well. Answer posted by Support on Jan 14, 2008 08:29 Most probably problem caused by not including some js files, or incorrect order of js file including. The correct order is dhtmlxcommon.js dhtmlxgrid.js dhtmlxgridcell.js ...any other extensions... |