reactgrid

Add spreadsheet-like behavior to your React app

MIT License

Downloads
80.4K
Stars
1.2K
Committers
7
reactgrid - v4.1.8 Latest Release

Published by webloopbox 3 months ago

What's Changed

Full Changelog: https://github.com/silevis/reactgrid/compare/v4.1.7...v4.1.8

reactgrid - v4.1.7

Published by webloopbox 3 months ago

What's Changed

Full Changelog: https://github.com/silevis/reactgrid/compare/v4.1.3...v4.1.7

reactgrid - v4.1.6

Published by webloopbox 6 months ago

What's Changed

Full Changelog: https://github.com/silevis/reactgrid/compare/v4.1.3...v4.1.6

reactgrid - v4.1.3

Published by Michota 10 months ago

New Features

Fixes:

  • Provide fallback range to selection change handler by @DLowHP in https://github.com/silevis/reactgrid/pull/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 https://github.com/silevis/reactgrid/pull/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. https://github.com/silevis/reactgrid/pull/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 https://github.com/silevis/reactgrid/pull/268
  • Set default text color to black, change text to white in test grid @DLowHP in #224

Other changes:

Full Changelog: https://github.com/silevis/reactgrid/compare/v4.1.2...v4.1.3

reactgrid - v4.1.2

Published by DLowHP 12 months ago

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
reactgrid - v4.1.1

Published by DLowHP about 1 year ago

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

reactgrid - v4.1.0

Published by DLowHP about 1 year ago

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
reactgrid - v3.1.16

Published by patryk0493 over 3 years ago

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.
reactgrid -

Published by patryk0493 almost 4 years ago

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)
reactgrid -

Published by patryk0493 almost 4 years ago

Changes:

  • added brand new cell template - DropdownCell build on react-select library
  • added placeholder feature to the TextCell
  • rendering Cell Editor statically in-cell on mobile devices

Fixes:

  • rendering full-width header shadow
  • setting minimum column width to 40px
  • pasting data on cells where text and value in a cell template
  • enable context menu on column and row selection on mobile devices
  • not selecting cell if focus can't be placed on cell
reactgrid - v.3.1.6

Published by patryk0493 almost 4 years ago

Changes:

  • added nonEditable cell property. Now you no need to create a new CellTemplate disable changes on a cell;
  • added JSDoc API descriptions;
  • updated readme.md: getting started handling changes example;
  • added description of how to use ReactGrid with Next.js;
  • temporarily downgraded the typescript version to 3.9.7.

Fixes:

  • removed all circular dependencies
  • preventing including currency symbol on NumberCell editor
  • losing focus on mobile devices
  • new way to display sticky panes shadows
reactgrid - v3.1.3

Published by patryk0493 about 4 years ago

Changes:

  • Added ErrorBoundary component and error handling
  • Rewritten cell borders (added BorderProps interface, changed CellStyle interface, removed separator lines)
  • Added new notification about not implemented functionalities that exist only in PRO version
  • Updated README.md file
  • Updated dependencies
  • Updated Cypress tests
  • Simplified rendering PRO elements

Fixes:

  • areLocationEqual rewritten
  • Improved recalculating visible view
  • Removed unused code in HiddenElement
  • Opening context menu on mobile devices while reordering rows/columns
  • pasting data using context menu between GroupId cells
  • Fixed range selection when the cursor is outside RG's sticky right and left pane
reactgrid - v3.1.2

Published by patryk0493 about 4 years ago

Changes:

  • renamed GroupCell to ChevronCellTemplate and related CellTemplate
  • added groupId feature
  • renamed initialCell field to previousCell inside Change interface
  • rewritten TestGrid component
  • updated README.md
  • discontinued supporting context menu displaying on mobile Apple devices

Fixes:

  • rewritten focus location logic
  • improved handling copying and pasting from clipboard
  • fixed PartialArea borders rendering
reactgrid - v3.0.28

Published by patryk0493 about 4 years ago

Changes:

  • default shadow styles

Fixes:

  • setting highlights on a first column or row
  • opening cell editor on non-existing top sticky row or column
  • fixed misprint in GroupCell interface
  • exported missed getCharFromKeyCode function
  • correct positioning chevron char on GroupCell template
  • updated README.md file content
reactgrid - v3.0.24

Published by patryk0493 over 4 years ago

Changes:

  • added internationalization by labels props and TextLabels interface
  • added enableFullWidthHeader prop
  • indicating about possible data inconsistency
  • autofocusing ReactGrid component when initialFocusLocation prop is set
  • default HeaderCell background style

Fixes:

  • rerendering when highlight has changed
  • setting initial focus location on a nonexisting column or row
  • setting focus location on a nonexisting column or row
reactgrid - 3.0.22

Published by patryk0493 over 4 years ago

Changes:

  • README.md update
  • moved all style files to @silevis/readtgrid directory
  • GroupCell styling
  • added initialFocusLocation prop
  • renamed disableFillHandle prop to enableFillHandle
  • renamed disableRangeSelection to enableRangeSelection
  • removed disableFloatingCellEditor prop
  • added onFocusLocationChanging event handler
  • CellChange, Change interface
  • added DefaultCellTypes type
  • reduces size of package

Fixes:

  • the first letter on typing int cell editor
  • CellEditor position
  • notifying about props implemented in Pro version
  • building on SSR when a window is undefined [e.g. Gatsby]
reactgrid - 3.0.12

Published by patryk0493 over 4 years ago

Fixes:

  1. Improved flexibility
  2. Exported Cypress tests
  3. Scroll behavior logic rewrite
  4. Create CellMatrix builder
  5. Divide functionalities into smaller functions
  6. Extend core module
  7. Improvements for loading big data tables
reactgrid - Publish MIT version

Published by myskamil over 4 years ago

Initial commit

Package Rankings
Top 2.51% on Npmjs.org
Badges
Extracted from project README
MIT license Build Status reactgrid npm version
Related Projects