Glide Data Grid 3.3.0
3.3.0 Release Notes
🎊 New Features
OverscrollY now supported in addition to OverscrollX
Want to add more vertical space to the vertical scrolling area? Simply set the desired number of pixels in the overscrollY property of DataEditor.
Arbitrary insertion into Grid
The onRowAppeneded callback has been augmented to allow returning the index of the blank row that has been inserted into the data model. This allows for more varied insertion stories. Shout out to @pzcfg!
ScrollTo now supported
The data grid can be scrolled to a cell programmatically by calling scrollTo on its handle.
Add Right click Menus anywhere, anytime
Easily implement right click menus for the data grid with these three new APIs:
readonly onHeaderContextMenu?: (colIndex: number, event: HeaderClickedEventArgs) => void;readonly onGroupHeaderContextMenu?: (colIndex: number, event: GroupHeaderClickedEventArgs) => void;readonly onCellContextMenu?: (cell: readonly [number, number], event: CellClickedEventArgs) => void;
onFinishedEditing callback now available at root level
readonly onFinishedEditing?: (newValue: GridCell | undefined, movement: readonly [number, number]) => void;
This event fires even if the cell value itself is not changed. Big thank you @krisolchova for your wonderful contribution (which included tests!).
🐛 Bug Fixes
- PaddingX/Y are now properly accounted for in scrolling situations. | @pzcfg
- Multiple storybook fixes. | @pzcfg @ivoelbert
- Marked dependency has been updated to the latest version from a very old version.