SlickGrid

A lightning fast JavaScript grid/spreadsheet

MIT License

Downloads
31.2K
Stars
1.8K
Committers
134
SlickGrid - 4.1.5

Published by ghiscoding 11 months ago

4.1.5 (2023-11-25)

Bug Fixes

  • try adding sort icon on non sortable column shouldn't throw (#930) (4ef172d)
SlickGrid - 5.5.4

Published by ghiscoding 11 months ago

5.5.4 (2023-11-24)

Bug Fixes

  • applyHtmlCode util should always clear targeted native element (#926) (3167f5f)
SlickGrid - 5.5.3

Published by ghiscoding 11 months ago

5.5.3 (2023-11-24)

Bug Fixes

  • change dynamic html string w/CSP safe code to fix scroll, fix #914 (#919) (b672d96)
  • common: cell range decorator should be hidden after onDragEnd (#924) (b6d02cd)
  • Draggable shouldn't trigger dragEnd without first dragging (#921) (012b74c)
  • interactions remove callback 2x call & add event listeners to body (#918) (a37d263)

Features

  • convert GroupItemMetadataProvider Formatter to native HTML for CSP (#925) (7ec4309)
SlickGrid - 4.1.4

Published by ghiscoding 11 months ago

4.1.4 (2023-11-24)

Bug Fixes

  • common: cell range decorator should be hidden after onDragEnd (#923) (27c500c)
  • Draggable shouldn't trigger dragEnd without first dragging (#922) (7ac8a62)
SlickGrid - 5.5.2

Published by ghiscoding 12 months ago

5.5.2 (2023-11-15)

Bug Fixes

  • replace leftover innerHTML assignment with CSP safe approach (#912) (4793068)
  • rollback portion of CSP safe code causing regression, fixes #914 (#915) (815922b)
SlickGrid - 5.5.1

Published by ghiscoding 12 months ago

5.5.1 (2023-11-14)

Release Info

This release is all about CSP (Content Security Policy) compliance, all dynamic html string were replaced by native HTML Element and a lot of code refactoring had to be done to make it all work. There are some exception though, if you still use html string as template, for example Formatter returning html string, you will not be fully compliant unless you return TrustedHTML, for more info you can read the CSP Compliance Wiki.

A big thanks to @JesperJakobsenCIM for helping with CSP compliance.

We now also allow passing native HTML Element to Custom Formatter instead of HTML string to avoid the use of innerHTML and stay CSP safe. We also have a new grid option named enableHtmlRendering which is enabled by default to avoid being a breaking change, but when disabled will not allow to use innerHTML hence will remain CSP safe. You can take a look at this new Filtered DataView with HTML Formatter - CSP Header (Content Security Policy) example which uses this new approach.

Bug Fixes

  • add nonce grid option set the nonce value for CSP header (#902) (fc0af7a)
  • add nonce grid option set the nonce value for CSP header (#902) (#905) (fb0e4f5)
  • add CSP safe option for DataView filtering and adjusting inline css for CSP (#908) (ff970c0)
  • add missing RowMoveManager containerCssClass option (#906) (5f85574)
  • improve build & types exports for all targets, Node, CJS/ESM (#910) (9013526)
  • interface for controls/plugins w/Formatter might return HTMLElement (#911) (9190843)

Features

  • add grid option enableHtmlRendering to use pure HTML not string (#894) (448ec4f)

Quick Survey ✨

We also made a quick little poll for fun, thanks for taking the time to participate

What do you think was the most exciting change(s) for you?

SlickGrid - 5.4.2

Published by ghiscoding 12 months ago

5.4.2 (2023-11-02)

Bug Fixes

  • misaligned column headers after horizontal scroll then freeze (#901) (7f11eff)
SlickGrid - 4.1.3

Published by ghiscoding 12 months ago

4.1.3 (2023-11-02)

Bug Fixes

  • add nonce grid option set the nonce value for CSP header (#904) (21a220e), closes #902
  • misaligned column headers after horizontal scroll then freeze (#903) (abebf8a), closes #901
SlickGrid - 5.4.1

Published by ghiscoding 12 months ago

5.4.1 (2023-11-01)

Bug Fixes

  • add allowDragFromClosest to make .slick-cell or child draggable (#897) (282fbb4)
  • create CSS rules by style element doesn't work in salesforce (#900) (4548fa0)
  • regression with RowMoveManager, row could no longer be moved (#896) (02226bd), closes #865
SlickGrid - 4.1.2

Published by ghiscoding 12 months ago

4.1.2 (2023-11-01)

Bug Fixes

  • add allowDragFromClosest to make .slick-cell or child draggable (#898) (bb977c3)
  • create CSS rules by style element doesn't work in salesforce (#899) (513871e)
SlickGrid - 5.4.0

Published by ghiscoding 12 months ago

5.4.0 (2023-11-01)

Quick Survey ✨

We also made a quick little poll for fun, thanks for taking the time to participate

What do you think was the most exciting change(s) for you?

Bug Fixes

  • dynamically create CSS rules via JS instead of innerHTML (#883) (a08b0f8), closes #878
  • HeaderMenu items prop for sub-menus should be optional (b5576de)
  • replace a few innerHTML by more secure alternatives (#885) (53ab293)
  • sub-menu event listeners leaking when closing sub-menus (#888) (338ea2a)
SlickGrid - 4.1.1

Published by ghiscoding 12 months ago

4.1.1 (2023-11-01)

SlickGrid - 4.1.0

Published by ghiscoding 12 months ago

4.1.0 (2023-11-01)

Bug Fixes

  • dynamically create CSS rules via JS instead of innerHTML (#886) (3d9aecb)
  • element replaceChildren() not supported by salesforce (#895) (2e09f25)
  • replace a few innerHTML by more secure alternatives (#887) (ada4690)

Features

SlickGrid - 5.3.1

Published by ghiscoding about 1 year ago

5.3.1 (2023-10-25)

Bug Fixes

  • add throwWhenFrozenNotAllViewable grid option to avoid throwing (#882) (a9e7e53)
  • add more checks around cached rows (#881) (fb2fa28)
SlickGrid - 4.0.3

Published by ghiscoding about 1 year ago

4.0.3 (2023-10-25)

Bug Fixes

  • add throwWhenFrozenNotAllViewable grid option to avoid throwing (#879) (43b85f5)
  • add more checks around cached rows (#880) (3c0e10d)
SlickGrid - 5.3.0

Published by ghiscoding about 1 year ago

5.3.0 (2023-10-24)

Release Info

The previous version, that was released just a few days ago, brought nested sub-menu(s) but it only worked with click event to open any sub-menus. However with this new release we also bring mouseover as a potential event and we also made it the new default. If you wish to keep opening sub-menus via click event, you could set the following option subMenuOpenByEvent: 'click' (our new default is now subMenuOpenByEvent: 'mouseover')

Deprecations ⚠️

Please note that to align all Menu plugins, we decided to rename all items array list as commandItems, changes are preferred but do not worry if you keep the previous names they still work and we will simply show a console warning for you to eventually change them. The changes to apply are the following (the 5.0 migration guide was also updated):

  • Header Menu
    • rename items to commandItems
  • Grid Menu
    • rename customItems to commandItems
    • rename customTitle to commandTitle

Examples

Quick Survey ✨

We also made a quick little poll for fun, thanks for taking the time to participate

What do you think was the most exciting change(s) for you?


Bug Fixes

  • deprecate GridMenu customItems in favor of commandItems (#872) (dd63c36)
  • deprecate HeaderMenu items in favor of commandItems (3987789)
  • Grid Menu mouseover event should work with commandItems array (#875) (94aee91)
  • make sure rowNode exists before trying to loop on it (#877) (bebec5f)
  • replace .slick-gridmenu-custom by .slick-gridmenu-command-list (#876) (2cc3175)

Features

  • add subMenuOpenByEvent option to open sub-menus via mouseover (#871) (78ea6ae)
SlickGrid - 4.0.2

Published by ghiscoding about 1 year ago

4.0.2 (2023-10-24)

Bug Fixes

  • make sure rowNode exists before trying to loop on it (244870d)
  • make sure rowNode exists before trying to loop on it (#874) (d574a43)
SlickGrid - 5.2.0

Published by ghiscoding about 1 year ago

5.2.0 (2023-10-21)

Release info

This new release brings nested sub-menu(s) to all Menu plugins, you can see examples below or see print screens in each PRs 🚀

Note please note that the sub-menus can only be opened by click event because mouse hovering event is just too complex to implement. If anyone is interested to help with that then please go ahead and contribute.

Quick Survey ✨

We also made a quick little poll for fun, thanks for taking the time to participate

What do you think was the most exciting change(s) for you?


Bug Fixes

  • add containerCssClass to RowMove to fix cell styling issue with icons (#865) (5abad6d)
  • argument of getViewportNode() should all be optional (#860) (09e7617)
  • CellSelectionModel calculate page row count only once (#858) (65c2382)
  • should use strict ESLint & TypeScript code (#863) (f1abfd8)

Features

  • add sub-menu(s) to CellMenu & ContextMenu plugins (#867) (0309ec4)
  • add sub-menu(s) to GridMenu control (#868) (24f30f6)
  • add sub-menu(s) to HeaderMenu plugin (#869) (6eaee7a)
SlickGrid - 5.1.0

Published by ghiscoding about 1 year ago

5.1.0 (2023-10-03)

Bug Fixes

  • active cell loses focus after editing or column reordering (#851) (fc3bd25)
  • add autoEditNewRow option to disable auto-edit new row, fix #445 (#855) (f0fa0bd)

Features

  • add option to cancel Row Detail opening, closes #378 (#852) (1ad9f5c)
  • add pageUp/pageDown/home/end to SlickCellSelection, fixes #794 (#854) (f4956e4)

Quick Survey ✨

We made a quick little poll for fun, thanks for taking the time to participate

What do you think was the most exciting change(s) for you?

SlickGrid - 5.0.1

Published by ghiscoding about 1 year ago

5.0.1 (2023-09-27)

Quick Survey ✨

We made a quick little poll for fun, thanks for taking the time to participate

What do you think was the most exciting change(s) for you?

Bug Fixes

  • add missing font-size CSS var for grid top header (9bb45a1)
  • DataView setFilter had incorrect type, fixes #848 (#849) (3efb3f5)
  • remove devDependencies & scripts from npm publish (0d9784a)