PDA

View Full Version : how can i know the row count in a grid panel



santosh_bdp
23 Apr 2010, 10:37 AM
HI

I am using a tab panel inside which all tabs are the grid panels and the data comes from a json into the grid, i want to know the row count at one time of an active tab. Is there a way..???

Thanks

rblon
23 Apr 2010, 11:28 AM
try



// assuming tp is your tabpanel
var numRows = tp.getActiveTab().getStore().getCount();