3 Replies Latest reply on Jul 13, 2008 1:58 PM by ntsiii

    What's the Best Way to Clear a DataGrid?

    Kurrykid Level 3
      What's the best way to clear out a datagrid and where should I put it in the code? The problem I am having is with data that is populated in the grid. When I leave the screen and come back to it (using the Accordion component), the data is still populated in the datagrid and I would like to have a clear screen when going back to it.

      So what I am looking for is the code to clear it (or removeAll()) and where would be the best place to execute it within the Accordion style setup.

      Thanks.

      Dave