Open this page in the API Guide

ReferenceGrid.totalRows Property

Gets the value indicating the total number of rows