The totalrecords are set before the dataloading process. If you want to get it as a variable from the Grid, use $(“#grid”).jqxGrid(‘getrows’).length; This will return the count of records loaded in the Grid. For server paging scenarios, probably you should return that information from the server to the client side.