Changelog History
-
v6.0.3 Changes
February 03, 2024๐ Fun fact: this release was done while riding in a 737 MAX. If this is the last release of GDG ever I pray I shorted Boeing on the way down. I guess this also puts me in the mile high npm club? Hurrah.
๐ Improvements
- ๐ฆ src now included in the package to make sure sourcemaps work
- readonly no longer sometimes ignore by uri cell, thanks @lukasmasuch
- ๐ Fixed the focus ring sometimes being clipped
- There is now an API
editOnTypeto control if the overlay editor can be triggered by simply typing or not.
-
v6.0.2 Changes
January 31, 2024๐ New Features
- โ Add multiselect cell
- โ Add support for circular checkboxes in row marker
- โ Add ability to configure the editor bloom amount
โจ Enhancement
- โฌ๏ธ Bump react-select version
๐ Bug Fixes
- ๐ Fix issue where highlight regions would sometimes not show when center region is only 1 column wide
- Trailing row no longer selectable via DND when not sticky
onItemHoveredno longer emitted when resizing a column, thanks @BrianHung- ๐ FIx bug where disabling the focus ring did not disable the background color
- ๐ Fix a clipping issue when vertical borders are not drawn
- โ Add ability to have a hover effect on text cells to preview editing
-
v6.0.1 Changes
January 31, 2024๐ Bug Fixes
- ๐ Fix bug where headers would not always redraw when animating
- ๐ Fix full API docs link, thank you @alistairholt
-
v6.0.0 Changes
January 13, 2024๐จ Breaking Changes
๐ New dependency
- canvas-hypertxt bumped to 1.0.3
- @linaria/react now added as dep (extremely tiny)
โ๏ธ Farewell create react app 4
๐ CRA 4 is no longer officially supported. While it is definitely possible to make it work, it may require extra work. CRA 5 works fine.
๐ ๐ข Better exports
๐ Exports for Glide Data Grid are now done in a more standard esm compliant manner. This should enable better tree shaking.
๐งผ Cell API cleanup
๐ฆ Some cells have had minor tweaks to their API to bring them in line with standard conventions. The
ImageCelland all the cells in thecellspackage now uses the standardreadonlyflag.๐ ๐ Minimap removed
๐ฆ The minimap was awesome, and largely unused. It has been removed from this version of Glide Data Grid in the service of smaller packages and a more maintainable surface area. We appreciate your service ๐ซก
๐จ
drawCellcallback improved.The drawCell callback now receives a callback argument which paints the standard cell. This allows dramatically more flexibility with custom under and overdrawing of cells. It is also now a void method eliminating a source of confusion.
constdrawCell:DrawCellCallback=React.useCallback((args,draw)=\>{// Draw something below the cell drawingdraw()// Draw something on top of the cell drawing},[])๐ New Features
๐ช Kinetic super scroll on iOS
Are you the one person presenting data grids to your mobile users? This feature is for you. GDG will now artificially boost the framerate during kinetic scroll on iOS to maintain a smooth experience. This is still experimental, but if feedback goes well we intend to promote this to stable.
return(\<DataEditor{...otherProps}experimental={{kineticScrollPerfHack:true,}}/\>);๐ ๐ Performance improvements when updating lots of data at once
Damage rendering now is 2x faster than the 5.0 series. This is enabled by reducing the amount of clipping during a damage pass. This improvement is what has made the DOOM easter egg on the main site possible. The easter egg may also be the reason for the improvement...
๐ UriCell improvements
๐ The URI cell supports drawing an underscore on hovering a URI value via the
hoverEffectproperty. It also supports click events (e.g., to open the URL) via theonUriClickproperty and uses thedisplayDatawithin the cell rendering.๐ โฝ๏ธ Add support for rounding radius in the theme
๐ง Configure the rounding radii of checkboxes, bubbles, skeletons, images, buttons, and other rounded elements via the optional
roundingRadiustheming property.๐ง ๐ค Header menu icons can now be configured
0๏ธโฃ Customize the header menu icon via the
menuIconproperty inGridColumn. It supportstrianglefor the default menu icon,dotsfor the three-dots menu icon, or a key of one of the icons passed to theheaderIconsprop.๐ ๐ Sparkline cell now supports even more charts
The
linegraphKind got renamed toarea. The newlinechart now renders just a simple line chart. Additionally, the x-axis can be hidden viahideAxis.๐ฅถ Freeze trailing rows
Get going by specifying the number of freeze trailing rows you want.
return(\<DataEditor{...otherProps}freezeTrailingRows={2}/\>);๐ LoadingCell skeletons
๐ง The loading cell can be configured to show skeletons when
skeletonWidthis set to a value > 0. The height can be configured via the optionalskeletonHeightproperty, and it also supports a randomized variability applied to the width viaskeletonWidthVariability.โจ๏ธ Fully remappable keybindings
๐ Keybindings can now be remapped instead of just turned off and on. More details here.
๐ชค Focus trapping
There is now a
trapFocusprop that will cause the grid to prevent focus leaving the grid during caret browsing or pressing tab.๐ โโ๏ธ Prevent column reordering
๐ Reordering of columns can now be prevented as new column locations are proposed using the new
onColumnProposeMovecallback. This allows for greater control over where users are allowed to drag columns.๐พ Copy and paste methods now available
The copy and paste functionality of the data grid is now exposed for direct usage by developers.
๐ฒ Tree view cell
๐ This cell represents the basic building block required to make collapsable and groupable rows. We will continue to improve support for row grouping in the rest of the 6.0.0 series.
โฌ๏ธ Dropdown cell improvements
๐ Allow specifying label and value independently in dropdown cell and some other visual improvements.
๐ Improvements
๐ Improved drawing of highlight and selection rings
When the selection ring or a highlight ring is at the right or bottom edge of the grid it will no longer be clipped out.
๐ ๐ฆ Safari performance improvements
๐ Safari now renders around 2 to 5 times faster on mobile devices. Less hitching, better grids, papa johns.
๐ ๐ฆ Large highlight region support
๐ Prior to 6.0.0 large highlight regions could cause excessively slow drawing performance. This is no longer a problem.
๐ Search no longer renders eagerly
Don't use the search? No problem. You no longer pay the penalty for something you don't need.
๐ Mouse hover render reduction
Hovering with the mouse no longer results in excessive react rendering.
๐ Hover interactions now can discern blank spots of grid from outside of grid
More details here: #811
โ๏ธ Resize column indicator
๐ง There is a new column resize indicator. It can be configured via the
resizeIndicatorColortheme property.โ๏ธ Fill handle improvements
- Controllable selection behavior
- ๐ FillPattern support
- Larger fill handle click region
- ๐ New visual representation
๐ฒ Get the bounds of the entire scroll area
If
getBoundsget called withcolandrowas undefined, the bounding box of the entire data grid scroll area is returned.๐ Odds and ends
- ๐ GDG now prefixes most of the css classes it uses to avoid conflicting with commonly used names.
- 0๏ธโฃ Page up and down keybindings are now on by default
๐ ๐ Bug Fixes
onDeletenow properly called when doing a cut operation.- ๐ Fixed a crasher caused by attemping to draw negative radius arcs.
- ๐ Fix a bug where
getBoundswould compute for the wrong cell. - ๐ Fixed multiple bugs where strict mode would be violated
- Horizontally center bubble cell editor to align with cell rendering.
- ๐ Fix copy escaping for array values.
- ๐ Fix issues with paste logic.
- ๐ Fix text cell editor color in Safari.
- ๐ Fix jittering issue with grow columns.
- ๐ง Use the configured padding for measuring of number, row-id, dropdown and date-picker cells.
- ๐ Fix sparkline chart error related to arrays with less than 3 values.
-
v5.3.2 Changes
December 01, 2023๐ Fixes a critical issue with older versions of Safari. The new copy/paste support was using a feature not supported until iOS 16.4:
https://caniuse.com/?search=lookbehind
โฌ๏ธ If you need to support older version of iOS you should upgrade from 5.3.1 to this version.
-
v5.2.1 Changes
January 16, 2023๐ Changes
- ๐ Point release to fix issue with markdown editor not sending updates correctly.
-
v5.2.0 Changes
November 15, 2022๐ฅณ New Features
- ๐ REM support available via
scaleToRemprop. You may want to specify font sizes in rems if set to try. - Theme can now set
headerIconSizeto control header icon sizes. rowMarkerThemenow available for overriding the theme of the row marker column
๐ ๐ Bug Fixes
- Spinners no longer obnoxiously large
- ๐ Fix case where horizontal resize cursor would not show
- ๐ Links cell now properly uses font cache
- Headers now respect horizontal padding of theme
- ๐ REM support available via
-
v5.1.4 Changes
October 02, 2022๐ Bug Fixes
- ๐ Fix issue where initial scroll offset might render incorrecty for 1 frame
- ๐ Fix issue where selection could clobber initial scroll offset
- โก๏ธ Update dependencies to supported versions
-
v5.1.3 Changes
October 02, 2022๐ Bug Fixes
- Avoid drawing spurious group header separator
- Emit header click from touch events
- Emit cell click from touch events
- Checkbox now scales with cell size
- ๐ Fix minor bug where vertical separator could go missing in rare situations









