grid panel does not clear the records

  1. #1

    grid panel does not clear the records


    I have two grid panel. The first is filled with records from the database. The second is populated when I select a record in the first. I select the button to clear all that runs on the server and the first grid clean records but not the second. The first is a grid buffer

    I'm trying to clear the records of the grid as follows:

    List <object> <object> list = new List ();

    gridOne.GetStore (). DataSource = list;
    gridOne.GetStore (). DataBind ();

    gridTwo.GetStore (). DataSource = list;
    gridTwo.GetStore (). DataBind ();
  2. #2
    is there a reason why you are not using

    gridTwo.GetStore().RemoveAll() ?
    alternativelly I think the best is to check what js is generated on respective request after databinding empty list
  3. #3
    I tried this but it did not work. I solved the problem by taking the buffer grid. This must be a bug in ext net

Similar Threads

  1. clear checked rows after reload the grid panel
    By hongxue in forum 2.x Help
    Replies: 0
    Last Post: Jun 20, 2013, 1:38 AM
  2. [CLOSED] Records are not displaying as per pagesize in grid panel
    By alscg in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 04, 2013, 9:54 AM
  3. Replies: 4
    Last Post: Aug 11, 2011, 7:16 AM
  4. How to clear selected row in grid panel.
    By Satyanarayana murthy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 25, 2009, 8:22 AM
  5. [CLOSED] How to add the records to grid panel dynamically?
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Oct 02, 2009, 6:41 AM

Posting Permissions