[CLOSED] GridPanel Row Count

  1. #1

    [CLOSED] GridPanel Row Count

    Hi,
    I fill a grid with datasource
    .
    DataSource(ViewBag.loadgrid)
    and initially it add one row to grid,

    I try with grid's Stores's listener like bellow to get grid's row count after load.

    l.AfterRender.Handler = "console.log(this.getStore().getCount())";
     l.AfterRender.Handler = "console.log(this.getStore().getTotalCount())";
    but its return "0" .
    Last edited by Daniil; Oct 20, 2014 at 4:16 AM. Reason: [CLOSED]
  2. #2
    Hi,
    I use Store's
    l.Load.Handler = "console.log(this.getCount())";
    and get the count.please close the thread .

Similar Threads

  1. How to get the row count of the gridpanel?
    By mcdonald in forum 1.x Help
    Replies: 12
    Last Post: Oct 16, 2015, 12:56 PM
  2. Replies: 1
    Last Post: Feb 26, 2013, 3:15 AM
  3. [CLOSED] How to get selected rows count in gridpanel
    By egvt in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 31, 2012, 5:22 PM
  4. Replies: 2
    Last Post: Feb 10, 2011, 6:43 PM
  5. Gridpanel record count
    By ram in forum 1.x Help
    Replies: 0
    Last Post: Nov 13, 2008, 6:50 AM

Posting Permissions