visibleRowCount property

int get visibleRowCount

Get visible row count (respects progressive loading)

Implementation

int get visibleRowCount {
  // For tree data, use flattened tree row count
  if (isTreeData) {
    return loadedRowCount < treeRows.length ? loadedRowCount : treeRows.length;
  }

  // For regular data, use visible rows
  return loadedRowCount < visibleRows.length ? loadedRowCount : visibleRows.length;
}