gds_El class

Inheritance

Constructors

gds_El(List<XFDataItem> items, XView view, bool enterpriseMode, BuildContext context, {dynamic rootItemEdited(XFDataItem)?})

Properties

cellInEdit_Value ↔ dynamic
getter/setter pairinherited
context BuildContext
getter/setter pairinherited
dataGridRows List<XDataGridRow>
getter/setter pairinherited
effectiveRows List<DataGridRow>
Return the copy of the DataGridSource.rows. It holds the sorted collection if the sorting is applied in DataGrid.
no setterinherited
enterpriseMode bool
getter/setter pairinherited
filterConditions Map<String, List<FilterCondition>>
Holds the collection of FilterCondition based on the columns.
no setterinherited
groupedColumns List<ColumnGroup>
The collection of ColumnGroup to be grouped in the SfDataGrid.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
item_Text_Color Color?
getter/setter pairinherited
list List<XFDataItem>
getter/setter pairinherited
rootItemEdited ↔ dynamic Function(XFDataItem)?
getter/setter pair
rows List<XDataGridRow>
The collection of rows to display in SfDataGrid.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortedColumns List<SortColumnDetails>
The collection of SortColumnDetails objects to sort the columns in SfDataGrid.
no setterinherited
view ↔ XView
getter/setter pairinherited

Methods

addColumnGroup(ColumnGroup columnGroup) → void
Call this method to add a specified ColumnGroup to the column grouping.
inherited
addFilter(String columnName, FilterCondition filterCondition) → void
Call this method to add the FilterCondition programmatically.
inherited
addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
buildEditWidget(DataGridRow dataGridRow, RowColumnIndex rowColumnIndex, GridColumn column, CellSubmit submitCell) Widget?
Called to obtain the widget when a cell is moved into edit mode.
inherited
buildGroupCaptionCellWidget(RowColumnIndex rowColumnIndex, String summaryValue) Widget?
Called to obtain each cell in the caption summary row.
inherited
buildRow(DataGridRow row) → DataGridRowAdapter?
Called to obtain the widget for each cell of the row.
inherited
buildTableSummaryCellWidget(GridTableSummaryRow summaryRow, GridSummaryColumn? summaryColumn, RowColumnIndex rowColumnIndex, String summaryValue) Widget?
Called to obtain the widget for each cell of the table summary row.
inherited
calculateSummaryValue(GridTableSummaryRow summaryRow, GridSummaryColumn? summaryColumn, RowColumnIndex rowColumnIndex) String
Calculates the summary value for the table summary row of a specific column.
inherited
canSubmitCell(DataGridRow dataGridRow, RowColumnIndex rowColumnIndex, GridColumn column) Future<bool>
Called whenever the cell’s editing is completed i.e. prior to onCellSubmit method.
inherited
clearColumnGroups() → void
Clear all the ColumnGroup from the column grouping.
inherited
clearFilters({String? columnName}) → void
Clear the FilterCondition from a given column or clear all the filter conditions from all the columns.
inherited
compare(DataGridRow? a, DataGridRow? b, SortColumnDetails sortColumn) int
Called when the sorting is applied for column. This method compares the two objects and returns the order either they are equal, or one is greater than or lesser than the other.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
get_ItemPropValue(RowColumnIndex rowColumnIndex, GridColumn column) → dynamic
inherited
getDataGridRow(XFDataItem item) → XDataGridRow
inherited
handleLoadMoreRows() Future<void>
Called when LoadMoreRows function is called from the SfDataGrid.loadMoreViewBuilder.
inherited
handlePageChange(int oldPageIndex, int newPageIndex) Future<bool>
Called when the page is navigated.
inherited
handleRefresh() Future<void>
Called when the swipe to refresh is performed in SfDataGrid.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyDataSourceListeners({RowColumnIndex? rowColumnIndex}) → void
Calls all the datagrid source listeners. Call this method whenever the underlying data is added or removed. If the value of the specific cell is updated, call this method with RowColumnIndex argument where it refers the corresponding row and column index of the cell.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
onCellBeginEdit(DataGridRow dataGridRow, RowColumnIndex rowColumnIndex, GridColumn column) bool
Called whenever the cell is moved into edit mode.
inherited
onCellCancelEdit(DataGridRow dataGridRow, RowColumnIndex rowColumnIndex, GridColumn column) → void
Called when you press the LogicalKeyboardKey.escape key when the DataGridCell on editing to cancel the editing.
inherited
onCellSubmit(DataGridRow dataGridRow, RowColumnIndex rowColumnIndex, GridColumn column) Future
Called whenever the cell’s editing is completed.
inherited
performGrouping(String columnName, DataGridRow row) String
Called when grouping is applied to the SfDataGrid.groupedColumns.
inherited
performSorting(List<DataGridRow> rows) Future<void>
Called when the sorting is applied to the column.
inherited
removeColumnGroup(ColumnGroup columnGroup) → void
Call this method to remove a specified ColumnGroup from the column grouping.
inherited
removeFilter(String columnName, FilterCondition filterCondition) → void
Remove the FilterCondition from the given column.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
set_ItemPropValue(RowColumnIndex rowColumnIndex, GridColumn column, dynamic value) → dynamic
inherited
shouldRecalculateColumnWidths() bool
Called whenever you call notifyListeners or notifyDataSourceListeners in the DataGridSource class. If you want to recalculate all columns width (may be when underlying data gets changed), return true.
inherited
sort() Future<void>
Call this method when you are adding the SortColumnDetails programmatically to the DataGridSource.sortedColumns.
inherited
toString() String
A string representation of this object.
inherited
xBuilder_XCell(DataGridCell item, XDataGridRow xGridDataRow) Widget
override
xBuilder_XCell_InEdit(DataGridCell gridCell, RowColumnIndex rowColumnIndex, GridColumn column, CellSubmit submitCell) Widget?
settare il value in cellInEdit_Value e chiamare submitCell()
inherited
xBuildRow(XDataGridRow row) → DataGridRowAdapter?
inherited
xCanSubmitCell(DataGridRow dataGridRow, RowColumnIndex rowColumnIndex, GridColumn column) Future<bool>
inherited
xOnCellCancelEdit(DataGridRow dataGridRow, RowColumnIndex rowColumnIndex, GridColumn column) → void
inherited
xOnCellSubmit(XDataGridRow dataGridRow, RowColumnIndex rowColumnIndex, GridColumn column) → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) → DataGridRow
An indexer to retrieve the data from the underlying datasource. If the sorting is applied, the data will be retrieved from the sorted datasource.
inherited