Skip to content

Commit 866ad8f

Browse files
FLUT-6018-[feature][Flutter]: Added API link for rowsCacheExtent.
1 parent 43f03cb commit 866ad8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flutter/datagrid/scrolling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ class _EmployeeDataSource extends DataGridSource {
690690

691691
## Increase row cache limit
692692

693-
By default, rows are generated based on the view port size and these rows are reused while scrolling. You can set the `SfDataGrid.rowsCacheExtent` property to avoid the visible changes caused by re-using. For example, if you show the checkbox in a column without setting the rows using this property, checkbox state changes with animation can be seen when vertical scrolling is performed.
693+
By default, rows are generated based on the view port size and these rows are reused while scrolling. You can set the [SfDataGrid.rowsCacheExtent](https://pub.dev/documentation/syncfusion_flutter_datagrid/latest/datagrid/SfDataGrid/rowsCacheExtent.html) property to avoid the visible changes caused by re-using. For example, if you show the checkbox in a column without setting the rows using this property, checkbox state changes with animation can be seen when vertical scrolling is performed.
694694

695695
The `rowsCacheExtent` property will create the additional rows internally with the existing visible rows, which are already allocated based on view port size. So, the number of rows that will be reused will increase.
696696

0 commit comments

Comments
 (0)