My code is:
var dhxWins3 = new dhtmlXWindows();
dhxWins3.setImagePath(codebase_path+“imgs/”);
dhxWins3.setSkin(“dhx_blue”);
var w3 = dhxWins3.createWindow(“w3”, 700, 260, 590, 290);
w3.setText(“Resultado de la b�squeda”);
w3.setModal(true);
w3.denyResize();
w3.centerOnScreen();
var resultBar = w3.attachToolbar();
resultBar.setIconsPath(xml_path+“icons/”);
var gridResultado = w3.attachGrid();
gridResultado.setImagePath(codebase_path+“imgs/”);
gridResultado.setIconsPath(xml_path+“icons/grid/”);
gridResultado.setHeader(" ,Nombre,Tama�o,Tipo,Modificado,dir");
gridResultado.enableMultiline(false);
gridResultado.enableSmartRendering(true);
gridResultado.enableMultiselect(false);
gridResultado.setColTypes(“img,ro,ro,ro,ro,ro”);
gridResultado.setInitWidths(“40,250,70,130,*,1”);
gridResultado.setColSorting(“na,str,str,str,str,str”);
gridResultado.setColAlign(“center,left,right,left,left,left”);
gridResultado.setColumnsVisibility(“false,false,false,false,false,true”);
gridResultado.loadXML(xml_path+“xml/directoryContent.php?busqueda=”+myToolbar.getValue(“txt_busc”)+"&config="+config);
gridResultado.setSkin(“light”);
gridResultado.init();
Grid with enableSmartRendering.
When i close windows, i have this error:
self._update_srnd_view is not a function
Which version of the grid you are using?
The issue must not occurs for grid 2.5 , if you are using 2.0 or 2.1 version - please contact us directly at support@dhtmlx.com
Hi:
My code is exactly the code of Jose Manuel and I have a 2.5 version of Grid and Window. The problem is smartRendering, if I put a grid without smartRendering, it working. But if I put a grid with smartRendering, it don´t work. Can I do?
Bye.
Problem is confirmed for some specific use-cases ( must not occurs for default scenarios )
Fix will be included in next version, if you need it asap - please contact us at support.dhtmlx.com ( preferable )