Skip to content

Glide Data Grid 3.1.1

Choose a tag to compare

@jassmith jassmith released this 25 Nov 00:39
· 425 commits to main since this release
dd2fca4

3.1.1 Release Notes

This is a patch release. The primary focus of this was minor bug fixes, improving rendering performance, and plugging a couple minor feature holes.

🚼 Behavioral Changes

In 3.1.1 the default textBaseline for the rendering context has been shifted to be middle. This enables more efficient rendering of the grid with fewer state changes. This only impacts custom cells if they fail to set the baseline appropriately for themselves.

🥂 New Features / Improvements

🤏🗺 Minimap

image

While functional the minimap is very much a beta feature. It can be turned on by setting minimap to true. The minimap is fully interactive, showing but where the user is scrolled to and allowing the user to click around and drag their location. It serves as both a map and 2d scrolling interface.

👆📅 Update animation

mYOQxaMgMA

By setting the cells lastUpdated time to performance.now() you can trigger an update fade out animation in 3.1.1.

🖼⚡ More faster images

The Data Grid now handles images even faster. Improvements include considerably lowering memory allocations when loading/processing images, and pooling image tags to reduce GC pressure during scroll and prevent unneeded state changes.

🖌 Group themes

Groups can now provide a theme override for all cells in their group. This is especially useful when implementing collapsing groups. The vertical height of groups can also be changed now by setting groupHeaderSize.

🐞Bug Fixes

  • Fix crash when columns had menus and were under 30px wide
  • Fix bug where grid selection would be reported to the user with an off by one error in some cases
  • Support 0 width columns better and prevent overdraw of borders
  • Empty string and undefined groups are now correctly treated as the same group
  • Frozen columns can now be dragged correctly
  • Minor editing improvements
  • Font overrides now correctly apply to cells
  • Dragging columns will no longer get stuck if the mouse ends over a menu icon
  • Selected columns now properly handle delete key