XGridColumn class
Constructors
XGridColumn ({required dynamic columnName , required dynamic label , dynamic columnWidthMode = ColumnWidthMode.none , dynamic visible = true , dynamic allowSorting = true , dynamic allowFiltering = true , dynamic autoFitPadding = const EdgeInsets.all(16.0) , dynamic minimumWidth = double.nan , dynamic maximumWidth = double.nan , dynamic width = double.nan , dynamic allowEditing = true })
Properties
actualWidth
→ double
The actual display width of the column when auto fitted based on
SfDataGrid.columnWidthMode
or columnWidthMode
.
no setter inherited
allowEditing
→ bool
Decides whether cell should be moved into edit mode based on
SfDataGrid.editingGestureType
.
final inherited
allowFiltering
→ bool
Decides whether the UI filtering should be enabled for this column.
final inherited
allowSorting
→ bool
Decides whether user can sort the column simply by tapping the column
header.
final inherited
autoFitPadding
→ EdgeInsets
The amount of space which should be added with the auto size calculated
when you use SfDataGrid.columnWidthMode
as ColumnWidthMode.auto
or
ColumnWidthMode.fitByCellValue
or ColumnWidthMode.fitByColumnName
option.
final inherited
columnName
→ String
The name of a column.The name should be unique.
final inherited
columnWidthMode
→ ColumnWidthMode
How the column widths are determined.
final inherited
filterIconPadding
→ EdgeInsetsGeometry
The amount of space which should be added with the filter icon
final inherited
filterIconPosition
→ ColumnHeaderIconPosition
The position of the filter icon in the column headers.
Typically, filter icon is placed next to sort icon.
final inherited
Decides how the checked listbox and advanced filter options should be shown in filter popup.
final inherited
hashCode
→ int
The hash code for this object.
no setter inherited
label
→ Widget
The label of column header.
final inherited
maximumWidth
→ double
The maximum width of the column.
final inherited
minimumWidth
→ double
The minimum width of the column.
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
sortIconPosition
→ ColumnHeaderIconPosition
The position of the sort icon in the column headers.
final inherited
visible
→ bool
Whether column should be hidden.
final inherited
width
→ double
The width of the column.
final inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited