trina_grid library

Classes

AbstractFilteredList<E>
Properties and methods extended to List.
FilteredList<E>
An extension class of List that applies a filter to a List and can access, modify, or delete the list in that state.
FilteredListRange
force the scope of the list
FilterHelper
FilterPopupState
State for calling filter pop
ITrinaGridState
LinkedScrollControllerGroup
Sets up a collection of scroll controllers that mirror their movements to each other.
PdfPageFormat
TrinaAggregateColumnFooter
Widget for outputting the sum, average, minimum, and maximum values of all values in a column.
TrinaAggregateColumnFooterState
TrinaAggregateHelper
TrinaAutoSize<T>
TrinaAutoSizeEqual<T>
Change the width of the items equally within the maxSize range.
TrinaAutoSizeHelper
Returns the auto-sizing class according to TrinaAutoSizeMode.equal or TrinaAutoSizeMode.scale.
TrinaAutoSizeScale<T>
Change the size of items according to the ratio.
TrinaCell
TrinaCellRendererContext
TrinaChangeNotifier
TrinaChangeNotifierFilter<T>
TrinaChangeNotifierFilterResolver
TrinaClipboardTransformation
TrinaColumn
TrinaColumnFooterRendererContext
TrinaColumnGroup
TrinaColumnGroupHelper
Helper class for handling TrinaColumnGroup.
TrinaColumnGroupPair
TrinaColumnMenuDelegate<T>
TrinaColumnMenuDelegateDefault
TrinaColumnRendererContext
TrinaColumnTitleRendererContext
Context provided to the titleRenderer function
TrinaColumnType
TrinaColumnTypeBoolean
TrinaColumnTypeCurrency
TrinaColumnTypeDate
TrinaColumnTypeHasFormat<T>
TrinaColumnTypeNumber
TrinaColumnTypePercentage
TrinaColumnTypeSelect
TrinaColumnTypeText
TrinaColumnTypeTime
TrinaDateTimeHelper
TrinaDebounce
TrinaDebounceByHashCode
TrinaDualGrid
TrinaDualGrid can connect the keyboard movement between the two grids by arranging two TrinaGrid left and right.
TrinaDualGridDisplay
TrinaDualGridDisplayExpandedAndFixed
TrinaDualGridDisplayFixedAndExpanded
TrinaDualGridDisplayRatio
TrinaDualGridDivider
In TrinaDualGrid, set the separation widget between the two grids.
TrinaDualGridDividerWidget
TrinaDualGridDividerWidgetState
TrinaDualGridLayoutDelegate
TrinaDualGridPopup
TrinaDualGridPopup can connect the keyboard movement between the two grids by arranging two TrinaGrid left and right. It works as a popup.
TrinaDualGridProps
TrinaDualGridResizeNotifier
TrinaDualGridState
TrinaDualOnSelectedEvent
TrinaFilterColumnWidgetDelegate
TrinaFilterType
TrinaFilterTypeContains
TrinaFilterTypeEndsWith
TrinaFilterTypeEquals
TrinaFilterTypeGreaterThan
TrinaFilterTypeGreaterThanOrEqualTo
TrinaFilterTypeLessThan
TrinaFilterTypeLessThanOrEqualTo
TrinaFilterTypeStartsWith
TrinaGrid
TrinaGrid is a widget that receives columns and rows and is expressed as a grid-type UI.
TrinaGridActionCopyValues
Copies the value of the current cell or the selected cell or row to the clipboard.
TrinaGridActionDefaultEnterKey
This action is the default action of the Enter key.
TrinaGridActionDefaultEscapeKey
This is the action in which the default behavior of the Escape key is set.
TrinaGridActionDefaultTab
This is the action in which the default action of the tab key is set.
TrinaGridActionFocusToColumnFilter
Move the focus from the current cell position to the filtering TextField of the corresponding column.
TrinaGridActionMoveCellFocus
Move the current cell focus in the direction direction.
TrinaGridActionMoveCellFocusByPage
Move the focus of the current cell page by page.
TrinaGridActionMoveCellFocusToEdge
Move the focus of the current cell to the end of the direction direction.
TrinaGridActionMoveSelectedCellFocus
Moves the selected focus in the direction direction in the cell or row selection state.
TrinaGridActionMoveSelectedCellFocusByPage
Moves the selection position page by page in cell or row selection mode.
TrinaGridActionMoveSelectedCellFocusToEdge
Moves the selected focus to the end of the direction direction in the cell or row selection state.
TrinaGridActionPasteValues
Pastes the copied values to the clipboard depending on the position of the current cell or row.
TrinaGridActionSelectAll
Select all cells or rows.
TrinaGridActionSetEditing
Set the current cell to edit state.
TrinaGridActionToggleColumnSort
Toggles the sort state of the column.
TrinaGridCannotMoveCurrentCellEvent
Occurs when the keyboard hits the end of the grid.
TrinaGridCellGestureEvent
TrinaCell This event handles the gesture of the widget.
TrinaGridCellPosition
TrinaGridChangeColumnFilterEvent
Event called when the value of the TextField that handles the filter under the column changes.
TrinaGridChangeColumnSortEvent
Event issued when the sort state of a column is changed.
TrinaGridChangeLazyPageEvent
Allows changing the current page when using lazy pagination.
TrinaGridClearColumnsFilterEvent
Event to clear the provided columns there filter
TrinaGridColumnFilterConfig
TrinaGridColumnSizeConfig
Automatically change the column width or set the mode when changing the width.
TrinaGridConfiguration
TrinaGridDatePicker
TrinaGridDatePicker Calls the popup for date selection. Select the date by using the keyboard action of TrinaGrid.
TrinaGridDragRowsEvent
Event called when a row is dragged.
TrinaGridEvent
TrinaGridEventManager
TrinaGridExport
Interface for Trina Grid export functionality
TrinaGridExportCsv
Implementation of TrinaGridExport for CSV format
TrinaGridExportJson
Implementation of JSON export for Trina Grid
TrinaGridExportPdf
Implementation of PDF export for Trina Grid
TrinaGridExportPdfSettings
TrinaGridFilterPopupHeader
TrinaGridKeyEventResult
2021-11-19 Temporary code due to KeyEventResult.skipRemainingHandlers operation error After issue resolution: Delete
TrinaGridKeyManager
TrinaGridKeyPressed
TrinaGridLayoutDelegate
TrinaGridLocaleText
TrinaGridOnActiveCellChangedEvent
When the active cell changes this callback is called
TrinaGridOnChangedEvent
Event called when the value of TrinaCell is changed.
TrinaGridOnColumnsMovedEvent
Argument of TrinaGrid.onColumnsMoved callback to move columns by dragging or receive left or right fixed events.
TrinaGridOnLazyFetchCompletedEvent
Event triggered when a lazy pagination fetch operation completes
TrinaGridOnLoadedEvent
TrinaGrid.onLoaded Argument received by registering callback.
TrinaGridOnRowCheckedAllEvent
Argument of TrinaGrid.onRowChecked callback when all checkboxes of the column are tapped.
TrinaGridOnRowCheckedEvent
Argument of TrinaGrid.onRowChecked callback to receive row checkbox event.
TrinaGridOnRowCheckedOneEvent
Argument of TrinaGrid.onRowChecked callback when the checkbox of the row is tapped.
TrinaGridOnRowDoubleTapEvent
The argument of the TrinaGrid.onRowDoubleTap callback to receive the event of double-tapping the row.
TrinaGridOnRowEnterEvent
Argument of TrinaGrid.onRowEnter callback to receive the event of entering the row with the mouse.
TrinaGridOnRowExitEvent
Argument of TrinaGrid.onRowExit callback to receive the event of exiting the row with the mouse.
TrinaGridOnRowSecondaryTapEvent
Argument of the TrinaGrid.onRowSecondaryTap callback to receive the event of tapping the row with the right mouse button.
TrinaGridOnRowsMovedEvent
Argument of TrinaGrid.onRowsMoved callback to receive the event of moving the row by dragging it.
TrinaGridOnSelectedEvent
This is the argument value of the TrinaGrid.onSelected callback that is called when the TrinaGrid.mode value is in select mode.
TrinaGridOnSortedEvent
Argument of TrinaGrid.onSorted callback for receiving column sort change event.
TrinaGridPopup
TrinaGridPopup calls TrinaGrid in the form of a popup.
TrinaGridScrollbarConfig
Allows to customise scrollbars "look and feel" The general feature is making vertical scrollbar draggable and therefore more useful for desktop systems. Set isDraggable to true to achieve this behavior. Also changing isAlwaysShown to true is recommended for more usability at desktops.
TrinaGridScrollController
This is a class for handling horizontal and vertical scrolling of columns and rows of TrinaGrid.
TrinaGridScrollUpdateEvent
An event that occurs when dragging or moving after a long tap.
TrinaGridSelectingCellPosition
TrinaGridSetColumnFilterEvent
If the value of TrinaGridStateManager.filterOnlyEvent is true, an event is issued. TrinaInfinityScrollRows or TrinaLazyPagination Event for delegating filtering processing to widgets.
TrinaGridSettings
TrinaGridShortcut
Class for setting shortcut actions.
TrinaGridShortcutAction
Define the action by implementing the execute method as an action that can be mapped to a shortcut key.
TrinaGridState
TrinaGridStateChangeNotifier
TrinaGridStateManager
It manages the state of the TrinaGrid and contains methods used by the grid.
TrinaGridStyleConfig
TrinaGridValidationEvent
Event triggered when cell validation fails
TrinaInfinityScrollRows
When the end of the list is reached by scrolling, arrow keys, or PageDown key manipulation Add the response result to the grid by calling the fetch callback function.
TrinaInfinityScrollRowsRequest
Request data to get data when scrolling has reached the end.
TrinaInfinityScrollRowsResponse
The return value of the fetch callback function of TrinaInfinityScrollRow when the scroll reaches the end.
TrinaKeyManagerEvent
TrinaLazyPagination
Widget for processing lazy pagination.
TrinaLazyPaginationRequest
Request data for lazy pagination processing.
TrinaLazyPaginationResponse
Response data for lazy pagination.
TrinaLazyPaginationState
TrinaLoading
Widget that is displayed when loading is enabled with the TrinaGridStateManager.setShowLoading method.
TrinaNotifierEvent
TrinaNotifierEventForceUpdate
TrinaNotifierFilterResolverDefault
TrinaOptional<T>
A class for changing the value of a nullable property in a method such as copyWith.
TrinaPagination
A widget for client-side pagination.
TrinaPaginationState
TrinaResize<T>
This is the implementation that must be inherited when implementing the class according to TrinaResizeMode.
TrinaResizeHelper
Returns a class for changing the width of a column, etc.
TrinaResizePushAndPull<T>
Changes the size of the object to be changed by offset and pushes or pulls the size of the remaining items.
TrinaRow<T>
TrinaRowColorContext
Argument of TrinaGrid.rowColumnCallback callback to dynamically change the background color of a row.
TrinaRowGroupByColumnDelegate
TrinaRowGroupDelegate
Abstract class that defines a base interface for grouping rows.
TrinaRowGroupHelper
Helper class for grouping rows.
TrinaRowGroupTreeDelegate
TrinaRowType
TrinaRowTypeGroup
TrinaRowTypeNormal
TrinaScaledCheckbox
TrinaScrollBehavior
Extension class for ScrollConfiguration.behavior of TrinaGrid.
TrinaShadowContainer
TrinaShadowLine
TrinaValidationContext
Context object passed to column validators containing information about the validation

Enums

PercentageSymbolPosition
Defines the position of the percentage symbol.
TrinaAggregateColumnGroupedRowType
When grouping row is applied, set the condition of row to be aggregated.
TrinaAggregateColumnIterateRowType
Determine the condition of the rows to be included in the aggregation.
TrinaAggregateColumnType
Determine the aggregate type.
TrinaAutoSizeMode
This mode automatically changes the width of columns, etc.
TrinaColumnFrozen
TrinaColumnSort
TrinaColumnTextAlign
TrinaGridEnterKeyAction
Behavior of the Enter key when a cell is selected.
TrinaGridEventType
TrinaGridGestureType
TrinaGridLoadingLevel
When calling loading screen with TrinaGridStateManager.setShowLoading method Determines the level of loading.
TrinaGridMode
TrinaGridRowSelectionCheckBoxBehavior
TrinaGridScrollUpdateDirection
TrinaGridSelectingMode
A type of selection mode when you select a row or cell in a grid by tapping and holding, then moving the pointer or selecting a row or cell in the grid with controls or shift and tap.
TrinaGridTabKeyAction
Tab key action type.
TrinaMoveDirection
TrinaResizeMode
This mode is for adjusting the size of columns, etc.
TrinaRowFrozen
TrinaRowGroupDelegateType
Determines the grouping type of the row.
TrinaRowState

Functions

showColumnMenu<T>({required BuildContext context, required Offset position, required List<PopupMenuEntry<T>> items, Color backgroundColor = Colors.white}) Future<T?>?
Open the context menu on the right side of the column.

Typedefs

CreateFooterCallBack = Widget Function(TrinaGridStateManager stateManager)
CreateHeaderCallBack = Widget Function(TrinaGridStateManager stateManager)
FilteredListFilter<E> = bool Function(E element)
Callback function to set in setFilter.
RowWrapper = Widget Function(BuildContext context, Widget row, TrinaGridStateManager stateManager)
SetFilterPopupHandler = void Function(TrinaGridStateManager? stateManager)
TrinaAggregateFilter = bool Function(TrinaCell)
Returns whether to be filtered according to the value of TrinaCell.value.
TrinaCellRenderer = Widget Function(TrinaCellRendererContext rendererContext)
TrinaColumnCheckReadOnly = bool Function(TrinaRow row, TrinaCell cell)
It dynamically determines whether the cells of the column are in the edit state.
TrinaColumnFooterRenderer = Widget Function(TrinaColumnFooterRendererContext context)
TrinaColumnRenderer = Widget Function(TrinaColumnRendererContext rendererContext)
TrinaColumnTitleRenderer = Widget Function(TrinaColumnTitleRendererContext rendererContext)
Renderer for customizing the column title widget
TrinaColumnValueFormatter = String Function(dynamic value)
TrinaCompareFunction = bool Function({required String? base, required TrinaColumn column, required String? search})
base is the cell values of the column on which the search is based. search is the value entered by the user to search.
TrinaDualOnSelectedEventCallback = void Function(TrinaDualOnSelectedEvent event)
TrinaGridColumnFilterResolver = dynamic Function<T>()
TrinaGridResolveDefaultColumnFilter = TrinaFilterType Function(TrinaColumn column, TrinaGridColumnFilterResolver resolver)
TrinaInfinityScrollRowsFetch = Future<TrinaInfinityScrollRowsResponse> Function(TrinaInfinityScrollRowsRequest)
A callback function to implement when the scroll reaches the end.
TrinaLazyPaginationFetch = Future<TrinaLazyPaginationResponse> Function(TrinaLazyPaginationRequest)
Callback function to implement to add lazy pagination data.
TrinaOnActiveCellChangedEventCallback = void Function(TrinaGridOnActiveCellChangedEvent event)
TrinaOnChangedEventCallback = void Function(TrinaGridOnChangedEvent event)
TrinaOnColumnsMovedEventCallback = void Function(TrinaGridOnColumnsMovedEvent event)
TrinaOnLazyFetchCompletedEventCallback = void Function(TrinaGridOnLazyFetchCompletedEvent event)
TrinaOnLoadedEventCallback = void Function(TrinaGridOnLoadedEvent event)
TrinaOnRowCheckedEventCallback = void Function(TrinaGridOnRowCheckedEvent event)
TrinaOnRowDoubleTapEventCallback = void Function(TrinaGridOnRowDoubleTapEvent event)
TrinaOnRowEnterEventCallback = void Function(TrinaGridOnRowEnterEvent event)
TrinaOnRowExitEventCallback = void Function(TrinaGridOnRowExitEvent event)
TrinaOnRowSecondaryTapEventCallback = void Function(TrinaGridOnRowSecondaryTapEvent event)
TrinaOnRowsMovedEventCallback = void Function(TrinaGridOnRowsMovedEvent event)
TrinaOnSelectedEventCallback = void Function(TrinaGridOnSelectedEvent event)
TrinaOnSortedEventCallback = void Function(TrinaGridOnSortedEvent event)
TrinaOnValidationFailedCallback = void Function(TrinaGridValidationEvent event)
TrinaRowColorCallback = Color Function(TrinaRowColorContext rowColorContext)
TrinaRowGroupOnToggled = void Function({required bool expanded, required TrinaRow row})
A callback that is called when a group row is expanded or collapsed.
TrinaSelectDateCallBack = Future<DateTime?> Function(TrinaCell dateCell, TrinaColumn column)