pinnedColumnCount property
The number of columns that are permanently shown on the leading vertical edge of the viewport.
If scrolling is enabled, other columns will scroll underneath the pinned columns.
Just like for regular columns, buildColumn method will be consulted for
additional information about the pinned column. The indices of pinned
columns start at zero and go to pinnedColumnCount - 1
.
The integer returned by this getter must be smaller than (or equal to) the integer returned by columnCount.
If the value returned by this getter changes throughout the lifetime of the delegate object, notifyListeners must be called.
Implementation
@override
int get pinnedColumnCount => _pinnedColumnCount;
Implementation
set pinnedColumnCount(int value) {
assert(value >= 0);
assert(value <= columnCount);
if (pinnedColumnCount == value) {
return;
}
_pinnedColumnCount = value;
notifyListeners();
}