Skip to content

Releases: silevis/reactgrid

v4.1.10

08 Oct 08:37
Compare
Choose a tag to compare

What's Changed

  • V4: Fixed the behavior of function keys in cell templates by @webloopbox in #444

Full Changelog: v4.1.8...v4.1.10

v4.1.8

08 Aug 15:08
Compare
Choose a tag to compare

What's Changed

  • V4 fix: dropdown cell values are not clearing after being cut (cmd/ctrl-x) by @webloopbox in #426

Full Changelog: v4.1.7...v4.1.8

v4.1.7

22 Jul 12:25
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.1.3...v4.1.7

v4.1.6

10 May 10:52
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.1.3...v4.1.6

v4.1.3

04 Jan 09:12
Compare
Choose a tag to compare

New Features

  • Expose isDisabled for DropdownCell options by @robofish in #269

Fixes:

  • Provide fallback range to selection change handler by @DLowHP in #252
  • Fix date cell inconsistency. @DLowHP in #249
  • Replace parseFloat with parseLocaleNumber, so ReactGrid will respect locale-based separators. @Michota in #296
  • Do not trim values if they were pasted with ContextMenu. @Michota in #296
  • Center checkmark in checkbox cells. @DLowHP in #261
  • Get the current user's language before proccesing characters. @qiufeihong2018 in #254
  • Add padding to GridRenderer on Firefox to prevent scrollbar from overlapping ResizeHandler. @Michota in #303
  • Patch FillHandle to work properly with CheckboxCell. @qiufeihong2018 in #294
  • Do not fire onCellsChanged twice, if changes were saved by pressing Enter key. @qiufeihong2018 in #292
  • Chrome bug patch: Always use z-index for sticky content by @DLowHP. #235
  • Fix ContextMenu positioning to stop it from rendering outside ReactGrid on right and bottom. @qiufeihong2018 in #287
  • Trigger onSelectionChanged on row selection. @qiufeihong2018 in #274
  • Restore missing # in default border color. @robofish in #268
  • Set default text color to black, change text to white in test grid @DLowHP in #224

Other changes:

Full Changelog: v4.1.2...v4.1.3

v4.1.2

02 Nov 15:01
Compare
Choose a tag to compare

Fixes

  • Reverted default text color to black, keeping it white in test grid
  • Fixed errors on ContextMenu copy and paste
  • Now always checking the current user's language setting before processing the first character
  • Recentered CheckboxCell's "tick"
  • Provided fallback range to selection change handler to fix the issue with onSelectionChanging handler when selecting with keyboard
  • Fixed date cell inconsistency that caused them to return wrong values depending on user's timezone
  • Patched Chrome v117+ bug that caused sticky content to overlap; this change introduced zIndexBase property that allows you to offset the z-indexes for panes which are now used regardless of the browser

v4.1.1

04 Sep 07:46
a44854c
Compare
Choose a tag to compare

A small patch to fix #217 where importing v4.1.0 required to use dist directory.

v4.1.0

30 Aug 11:56
Compare
Choose a tag to compare

Changes

  • Achieved React 18 support
  • Achieved Node v17 support
  • Migrated to react-scripts v5
  • Added pnpm support
  • Added compositionEnd event to cell templates - support for Input Method Editors
  • Achieved foreign keyboard layouts support
  • Added key param to onKeyDown handler for cell templates
  • Added getCharFromKey helper function
  • Added isCharAlphanumeric string based validator
  • Added string based character validator for number cells - isCharAllowedOnNumberInput
  • Added isKeyPrintable helper to validate incoming key presses based on keyDownEvent.key
  • Updated cell templates to use key property along with a.n. helpers
  • Added new moveRightOnEnter property
  • Made min column width customizable through property
  • Added text color variables to scss
  • Introduced onSelectionChanged and onSelectionChanging callbacks
  • Updated internal functions to call selection callbacks on changes caused by pointer, keyboard, fill handle, paste or selection reset
  • Migrated to Cypress v12
  • Updated and fixed tests

Fixes

  • Fixed an issue where first key press on focused cell outside edit mode did not always trigger input and edit mode
  • Escape key should now cancel changes before exiting edit mode
  • You should now be able to change cell border color using its props
  • You should now be able to cut, copy and paste dropdown cells
  • Fixed an issue where IME did not focus cell and trigger edit mode
  • Fixed an issue where foreign keyboard layouts sometimes did not trigger edit mode
  • Foreign keyboard layouts should now produce proper characters on first input
  • You should now be able to use fill handle on dropdown cells
  • Context menu should not restore its position on ReactGrid remount anymore
  • Dropdown cell should now properly update the selected value
  • Pressing Ctrl + A inside edit mode on number-based cells should not select whole grid anymore
  • Replaced implicit string conversion with explicit constructor inside getCellProperty
  • Updated dependencies
  • Minor JSDoc, internal variable names grammar and readability fixes

v3.1.16

25 Feb 15:49
Compare
Choose a tag to compare

Changes:

  • building production code with Rollup,
  • supporting Next.js without next-transpile-modules plugin,
  • added cell span feature,
  • improved fill handle to predict next values (PRO version),
  • added new test cases (i.e. cell editor position, copy-paste, cell-span),
  • added ESLint - removed warnings and errors,
  • renamed shadow CSS class name to rg-pane-shadow
  • merged Change interface into CellChange for better readability

Fixes:

  • sticky pinned to the body on mobile view now should render properly,
  • navigating between cells with the keyboard when header cell or non-focusable cell is in the middle,
  • entering negative values in number cell with numeric keyboard,
  • cell editor position, when the focus is not changing and the cell is not fully visible.

v3.1.12

22 Dec 13:23
Compare
Choose a tag to compare

Changes:

  • added responsive sticky feature (horizontalStickyBreakpoint and verticalStickyBreakpoint prop)
  • complete Cypress test environment rebuild for new test cases (over 80 end-2-end tests)
  • removed unnecessary data-cy selectors
  • added husky

Fixes:

  • updated Dropdown cell implementation
  • moving focus inside the selection with the tab and tab + shift key
  • row selecting when the focus isn't placed
  • default menu options are not returned if onContextMenu callback returns an empty array
  • viewport scrolling is prevented if the user touches the first top row or first left column on touch devices
  • Firefox browser checking (for Cypress tests)