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" .
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" .