DataGridScrollPosition enum Null safety

Decides how to scroll request to the corresponding position.

Constants

center → const DataGridScrollPosition

Scroll to the center of a SfDataGrid.

const DataGridScrollPosition(3)
end → const DataGridScrollPosition

Scroll to the end of a SfDataGrid.

const DataGridScrollPosition(1)
makeVisible → const DataGridScrollPosition

Scroll to make a specified item visible.

If the given item is not visible and it is presented at top of the datagrid, that item will be visible at top of the SfDataGrid. Also, behaves same for bottom case.

const DataGridScrollPosition(2)
start → const DataGridScrollPosition

Scroll to the start of a SfDataGrid.

const DataGridScrollPosition(0)
values → const List<DataGridScrollPosition>

A constant List of the values in this enum, in order of their declaration.

const List<DataGridScrollPosition>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited