RowHeightDetails class

Details for callbacks that use RowHeightDetails see also:

QueryRowHeightCallback

Constructors

RowHeightDetails(int rowIndex, double rowHeight)
Creates a RowHeightDetails with the specified rowIndex and rowHeight.

Properties

hashCode int
The hash code for this object.
no setterinherited
rowHeight double
The height of the row at the specified rowIndex. If you want to change this height, you can return a different height from the SfDataGrid.onQueryRowHeight callback.
final
rowIndex int
An index of a row.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getIntrinsicRowHeight(int rowIndex, {bool canIncludeHiddenColumns = false, List<String> excludedColumns = const <String>[]}) double
Gets the row height to fit the row based on the DataGridCell.value. For header cells, it considers the GridColumn.columnName.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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