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