Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jose Manuel on Sep 30, 2009 03:31
open dhtmlx forum
grid smartrendering - close windows error

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
Answer posted by Stanislav (support) on Oct 05, 2009 03:58
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