View Full Version : row count
2 Sep 2012, 4:24 AM
How to make count of total rows present in a grid without using it's store?
2 Sep 2012, 7:21 PM
var view = <grid>.getView();
var count = view.getEl().query(view.itemSelector).length;
However I don't suggest you to use this way because it maybe not correct in some cases. Why don't you use store.getCount()?
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.