legacy_tree_grid 0.14.3
legacy_tree_grid: ^0.14.3 copied to clipboard
Display, filter, sort, select, and edit tabular data in a tree grid.
0.14.3 #
- FIX: Fix for an issue that caused horizontal overflow.
0.14.2 #
- FIX: Fix for an issue that caused the header height to overflow by 1px in customDataTable.
0.14.1 #
- FIX: Fix for an issue that caused the header height to be ignored
0.14.0 #
Features #
- Programmatic Tree Control: Exposed
expandRow,collapseRow, andsetRowExpansiononClientSideDataGridandServerSideDataGridvia their state objects. - Intelligent Auto-Expansion: Target parent rows now automatically expand when a child is nested inside them during drag-and-drop.
- Server-Side Tree Support:
DataGridFetchOptionsnow includesexpandedRowIdsfor stateful server-side tree generation.- Optimized "silent refreshes" for server-side grids to eliminate jarring full-grid loaders during tree navigation and reordering.
- Prioritized the
hasChildrenflag in data to support robust lazy-loading scenarios.
- Enhanced UX: Restricted drag-and-drop interactions to dedicated handle columns for a more intentional and premium user experience.
Stability & Fixes #
- Circular Nesting Protection: Implemented robust ancestry checks to prevent disappearing rows caused by circular parent-child dependencies.
- Row ID Resolution: Fixed a critical bug where reordering callbacks incorrectly passed row indices instead of unique identifiers.
- State Management: Improved the synchronization of
indentationLevelandvisibilityflags across all grid wrappers. - Context Menu: Restored and stabilized right-click
legacy_context_menusupport across all grid implementations.
0.13.1 #
- FIX: Fix for an issue that prevented header alignment from being applied.
0.13.0 #
- FEATURE: Dynamic Grid Control Panel for testing different configurations in the example application.
- FEATURE: Smarter Column Layout System combining flexible proportional layouts with minWidth/maxWidth/fixed constraints, including logic to absorb horizontal space via
useAvailableWidthDistribution. - FEATURE: Added
DataColumnDef.dragHandle()factory for drag-and-drop row reordering. - FEATURE: Expanded
DataColumnDefwithmaxWidth,headerAlignment,filterOptionsMap, anduseCellPadding. - FEATURE: Unified Pinned Headers and Filter row into a single
SliverPersistentHeaderto ensure consistent overlapping limits and borders. - FEATURE: Added an interlocking global "Select All" tri-state checkbox directly to the header when multi-selection checkboxes are enabled. Added
selectedRowIdsandonSelectionChangedproperties strictly at the wrapper level. - FEATURE: Introduced an
onRowDoubleTapcallback for double-click behavior. - FEATURE: Implemented
treeIconCollapsedandtreeIconExpandedoptions for custom tree parent node expansion icons. - FEATURE: Added
footerLeadingWidgetsproperty to trailing footer actions, along withfilterRowHeightandshowFilterCellBorderoptions. - FIX: Decreased the default
ScaleNotifierzoom factor from1.0to0.85for a higher-density base widget size. - FIX: Optimized bounds-checking logic inside
CustomDataTableto avoid redundant column rescans when scaling or constraints don't force a wrap. - FIX: Improved grid layout performance by flattening the row iteration tree in
CustomDataTableduring build to reduce inner memory allocations. - FIX: Transferred mock tree data logic in the example app to local state, fixing the expand/collapse behaviors effectively.
- FIX: Added
noDataMessagelabel (defaulting to "No records found") rendered directly via slivers for empty grids.
0.12.0 #
- FEATURE: Added support for drag-and-drop row reordering.
- Added
onReordercallback toUnifiedDataGridandCustomDataTable. - Added
isDragHandleproperty toDataColumnDefto designate specific columns as drag handles. - Implemented smart drag proxy generation to visually drag entire subtrees when reordering expanded parent nodes.
- Added
0.11.0 #
- FEATURE: Add
isExpandedKeyfor more capabilities associated with programmatic expansion.
0.10.0 #
- FEATURE: Add
expandRowandcollapseRowmethods to the UnifiedDataGridState to allow programmatic expansion and collapse of rows. - FEATURE: Add
setRowExpansionmethod to the UnifiedDataGridState to allow programmatic expansion and collapse of rows.
0.9.1 #
- FIX: Fix for an issue that caused the
selectedRowIdto fail to propagate to the selected row in Unified Data Grid.
0.9.0 #
- FEATURE: Add
selectedRowIdso you can programmatically select a row in the Unified Data Grid.
0.8.0 #
- FEATURE: Added
allowSortingso you can disable sorting in the Unified Data Grid.
0.7.0 #
- FEATURE: Added two optional properties to the UnifiedDataGrid widget:
initialExpandedRowIds: ASet<String>to specify which tree nodes should be expanded when the grid first loads.onRowToggle: A callbackvoid Function(String rowId, bool isExpanded)that gets called whenever a user expands or collapses a row in the tree.
0.6.0 #
- FEATURE: Add support for a scrollController
0.5.0 #
- FEATURE: Add support for dynamic heights
- FEATURE: Add support for header actions
- FEATURE: Add support for enhanced row actions: allow configuring secondary click or long press on a row
0.4.0 #
- FEATURE: Added
footerBuilderfor completely custom footer implementations
0.3.2 #
- CHORE: Remove unused file, more permissive column size
- IMPROVEMENT: Switch to material icons for better dependency management
0.3.1 #
- FIX: Fix screenshot
0.3.0 #
- FEATURE: Add the ability to disable the footer, and customize the footer options further
- CHORE: Add screenshot
0.2.0 #
- FEATURE: Add the ability to save views and restore them
- FEATURE: Add the ability to adjust the sequence of footer items
0.1.0 #
- FEATURE: Add support for dark mode
0.0.1 #
- 🎉: Initial release. Hopefully this is the start of something good
