loadMoreRows method

void loadMoreRows()

Load more rows (progressive loading)

Implementation

void loadMoreRows() {
  if (_state.isLoadingMore) return;
  if (_state.loadedRowCount >= _state.visibleRows.length) return;

  final newLoadedCount = (_state.loadedRowCount + 50).clamp(0, _state.visibleRows.length);

  _state = _state.copyWith(
    loadedRowCount: newLoadedCount,
    isLoadingMore: false,
  );
  notifyListeners();
}