Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rubino Saccoccio on Jul 26, 2007 16:14
open dhtmlx forum
smartrenderng and reload grid

 Hi,
 i need to refresh grid contents with different number of rows (more or less) in a grid with smartrendering.

I create grid as usual:
    ...
    grid = new dhtmlXGridObject("gridbox");//
    ...
    grid.init();
    grid.enableSmartRendering(true, 0);
    grid.loadXML(s_xmlurl);
    ...

    and it works fine with smartrendering

   when  i tried to refresh, for example:
        ...
        grid.clearAll();
        grid.enableBuffering(1000);
        grid.enableSmartRendering(true, 0);
        grid.loadXML(s_newxmlurl);
        ...
    after refresh, the grid loose the smartrendering mode.
    Any advice to preserve smartrendering?

    thanks in advance.

    Rubino

Answer posted by Embre (Support) on Dec 02, 2014 05:34

Not much can be said in addition to the reply above, but you also can check accordion ajax and menu toolbar and find out what we have probably missed in our explanation.