Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    how to clear a listgrid?

    Hi friends!

    Someone know how I can clear a listgrid (without remove data in server)? I'm looking for someting like the form's clear method, but I haven't found anything about that.

    I want that when the user click in a button, the listgrid show empty, is it possible?

    thanks!

    David.

    #2
    listGrid.setData([]);
    (null might work too)

    Comment


      #3
      This works:

      listGrid.setData(new RecordList());

      Comment

      Working...
      X