Releases
v4.1.0
DLowHP
released this
30 Aug 11:56
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
You can’t perform that action at this time.