how to clear the sub_row_grid

I want to refresh the grid,but fail
I try to use grid.clearAll()
but error
because the gird have sub_row_grid
I don’t know how to refresh the grid .

my grid:

        inforGrid = inquirylayout.cells("a").attachGrid();
	inforGrid.setImagePath('/resources/dhtmlxSuite1.6/dhtmlxGrid1.6/imgs/');
	inforGrid.setHeader("A,B,C");
	inforGrid.setInitWidths("50,50,100");
	inforGrid.setColAlign("center,center,center"); 
	inforGrid.setColTypes("sub_row,ron"); 
	inforGrid.init();
	inforGrid.setSkin("dhx_skyblue");
inforGrid.loadXML("grid.xml");

      inforGrid.attachEvent("onSubGridCreated",function(subgrid){
      subgrid.setHeader("a,b,c,d");
      subgrid.setColTypes("ro,ro,ro,ro");
      subgrid.setInitWidths("100,100,100,100");
      subgrid.init();
      subgrid.loadXMLString(inforGrid.cells2(0,0).getValue());
      return false;  // block default behavior
       })

and grid.xml

<?xml version="1.0"?> <rows> <row id="3"> <cell type="sub_row_grid"><![CDATA[<rows><row id="s1"><cell>1</cell></row><row id="s2"><cell>2</cell></row></rows>]]></cell> <cell>Sub grid 2</cell> <cell>John Grisham</cell> <cell>7.99</cell> </row> </rows>

I want to know how to clear method and example~!

Unfortunately the issue cannot be reconstructed.
Your html works well.
For reloading it was used such function:

function fill() { inforGrid.clearAll(); alert ("cleared"); inforGrid.loadXML("grid.xml"); }

Grid was succesfully cleared and after that new data loaded into the grid.