This project is read-only.

Row count (After filtering)

Apr 2, 2014 at 6:56 AM
how can I access grid row count after apply filter?

Apr 5, 2014 at 8:50 AM

Use Grid<T>.GridItems.Count() method
Apr 7, 2014 at 6:46 AM
Edited Apr 7, 2014 at 7:40 AM

Using GridMvc.Grid<MyClass>.GridItems.Count() in my View i m getting an error:

"error CS0117: does not contain a definition for 'GridItems'"

I have changed my reference to prerelease and now i get the following error:

error CS0120: An object reference is required for the non-static field, method, or property 'GridMvc.GridBase<MyClass>.GridItems.get'

My Code:
var ccc = GridMvc.Grid<ProjectOverallView>.GridItems.Count();