diff --git a/src/web/ui/src/Controls/DataGrid.fs b/src/web/ui/src/Controls/DataGrid.fs index 9c7c530fb..0c7f91da6 100644 --- a/src/web/ui/src/Controls/DataGrid.fs +++ b/src/web/ui/src/Controls/DataGrid.fs @@ -23,6 +23,7 @@ let dataGrid<'a> props (rows:'a[]) dispatch = (List.map mapProp props) @ [ ReactGrid.RowGetter (fun i -> box rows.[i]) ReactGrid.OnGridRowsUpdated (update dispatch rows) + ReactGrid.RowsCount (Array.length rows) ] ReactGrid.reactGrid rgprops