PDA

View Full Version : [CLOSED] GridPanel Row Count



matrixwebtech
Oct 19, 2014, 7:52 AM
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" .

matrixwebtech
Oct 20, 2014, 3:54 AM
Hi,
I use Store's
l.Load.Handler = "console.log(this.getCount())"; and get the count.please close the thread .