Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gaurav Arora on May 15, 2009 14:10
open dhtmlx forum
enableSmartRendering issue

Hi,

I am loading a grid from a large XML string, hence thought of using the smart rendering feature. This loads the grid quickly, but the problem comes for the column where I am setting innerHTML to create a custom dropdown. When I scroll down, the smart rendering does not load the dropdowns for the rows which get rendered. The dropdowns get created for only those rows which were initially visible.

Following code creates the dropdowns after calling init() function...
myGrid.forEachRow(function(id)
{
myGrid.cellById(id,6).cell.innerHTML = "<select><option>...</option></select>";
});    

Please suggest on how to make smart rendering work in this case.

Thanks,
Gaurav Arora
Answer posted by Alex (support) on May 18, 2009 01:40

Hello, 

 dhtmlxGrid provides ready excells that allow to load dropdown in its columns correctly: coro,co or combo.

 Moreover we have the version of the combo excell which shows an arrow image in each combo cell even if editor is closed. If you are interested in it, please contact us at support@dhtmlx.com, provide your ref. number and we'll send you this excell.