Date: 2021-12-07
- Selection was overflowing when pasting a single row that overflows to the right
- A state could be updated (triggering a warning) after the component was unmounted
- Do not submit the form when adding a row
Date: 2021-12-05
- CI and tests
Date: 2021-11-23
- Now uses CSS custom properties to style DSG for easier customization.
Date: 2021-11-20
- The
gutterColumnprop now supportsfalseto disable the gutter.
- Update context menu style to force text color to be black event when parent is white.
Date: 2021-11-03
- Typo:
bellow→ below. For backward compatibility this does not affect thetypeofContextMenuItem, it is stillINSERT_ROW_BELLOW
Date: 2021-11-02
- Pasting more columns than available caused a crash
Date: 2021-10-13
- The package now exports
createTextColumnthat allows to create text-based columns from simple parsing and formatting functions.floatColumn,intColumn,percentColumn, andtextColumnare now built using it. floatColumn,intColumn, andpercentColumnnow format the value when blurred using Intl
Date: 2021-10-13
onBlurwas not passing the right cell to the callback
Date: 2021-10-12
- Pressing Tab from the last cell of a row now moves the active cell to the first cell of the following row
- Pressing Shift+Tab from the first cell of a row now moves the active cell to the last cell of the previous row
- Draggable corner is now gray when the selection is disabled
- Draggable corner is hidden when all columns of the selection are disabled
- Fix typescript error in SelectionContext.ts
- Update tsconfig for better module compatibility
Date: 2021-09-21
- User can now drag the corner of the selection to expand it.
- Headers width computation could be off in certain conditions because of the way flexbox computes width when items have padding.
Date: 2021-09-19
- Initial height computation made the grid jump 1 pixel
Date: 2021-09-14
- Issues with SSR and DOMParser
Date: 2021-09-14
activeCellandselectionof the ref now includecolIdif the column has an id.- New props
onFocus,onBlur,onActiveCellChange, andonSelectionChange
- Prop
dataon<DataSheetGrid/>has been renamedvalueto match standards.datais still supported but is now deprecated and support will be dropped on next major version.
Date: 2021-09-07
- Improved accessibility by allowing to focus next tabbable element in the dom when tabbing from the last cell, and previous element when Shift+Tab from the first cell.
Date: 2021-09-07
- Improved copy / pasting by supporting text/html data type. Dealing with edge cases with special characters now works perfectly.
Date: 2021-09-03
- Columns can now have an
id, makingsetActiveCellandsetSelectioneasier to use by specifying the column'sidinstead of its index.
Date: 2021-09-03
- Prop
isRowEmptyon<DataSheetGrid/>has been deleted in favor ofisCellEmptyon each column.
Date: 2021-09-01
disabled,deleteValue,copyValue,pasteValue,duplicateRow, andisRowEmptynow have access to therowIndex- Columns can now specify
headerClassNameandcellClassName <DataSheetGrid/>now hasstyleandclassNameprops
Changes were not track properly.