Skip to content

Tree Data Grid State & Presets

Compare
Choose a tag to compare
@ghiscoding ghiscoding released this 06 Jul 20:51
· 2754 commits to master since this release

Tree Data

this new version adds the Tree Data into the Grid State & Presets (when enabled), so you could reload the grid by saving & reapplying the same Grid State and Presets (toggled items) that it was before refreshing the page. There's also some more enhancements and fixes which you can see from the list below.

Others

in this version, we converted a few of the Filters/Editors from jQuery to native. That does not mean we can drop jQuery, but it's a start, SlickGrid uses jQuery heavily so I'm not even sure if it will ever be possible to drop jQuery completely (there's also a few external libs that are jQuery libs: multiple-select.js, jQueryUI autocomplete & slider range). On the other end, this conversion might bring better performance in some areas, at least I would imagine, on single/multiple Filter & Editors with large collection.

There are also a few Components that were decoupled as new monorepo packages so that they could be used in Aurelia-Slickgrid/Angular-Slickgrid (Binding, EventPubSubService, CustomFooterComponent, PaginationComponent). This new version will also be the first version to be used by Angular-Slickgrid for its upcoming major version and so Slickgrid-Universal will soon be used by 2 separate libs (Aurelia-Slickgrid & Angular-Slickgrid) 🚀🥳

Enjoying the lib?

Make sure to upvote ⭐ and/or Buy Me a Coffee ☕ ... and if you already have, well thanks 😺

Cheers and Happy Coding


Features

  • components: extract Custom Footer to be an external component (1794c27)
  • editors: convert jQuery to native element on slider editor (3181cf0)
  • editors: replace jQuery with native element on date editor (062f1f9)
  • editors: use class inheritance to extend main input editor (ad3e696)
  • filters: build multiple-select options from native dom elements (aa548a9)
  • filters: convert jQuery to native element on more filters (b46eb5e)
  • filters: convert jQuery to native elements on multiple filters (3a80996)
  • footer: add option to customize right footer text (2ea41cc)
  • formatters: add Bootstrap Dropdown Formatter (5ba9423)
  • Pagination: decouple the Pagination Component to separate package (606795b)
  • services: convert jQuery to native elements (4da0a20)
  • services: decouple the EventPubSubService to separate package (9f51665)
  • services: move Resizer Service w/common services folder for reuse (d127ac7)
  • styling: add a new color-disabled-dark (55c3062)
  • styling: add a new color-disabled (7151198)
  • styling: add extra material icons & new color (4205b66)
  • tree: add getItemCount method with optional tree level (b3f8f94)
  • tree: add Tree Collapse Grid State/Preset (998b01a)
  • tree: add ways to reapply Tree Collapse previous state (3702ed3)
  • editors: add new Input Password Editor which uses common inputEditor (87e547c)
  • filters: convert jQuery to native element on few more filters (7d5e1e8)

Bug Fixes

  • addon: providing columnIndexPosition should always work (42c8cff)
  • build: the "files" property should be included in pkg.json (3d8f12e)
  • demo: we should be able to move row(s) and keep selections (d5669a1)
  • editors: longText Editor (textarea) was scrolling to page bottom (a4e37a0)
  • editors: select dropdown value is undefined it shouldn't call save (015294b)
  • export: expanded Row Detail shouldn't be exported, fixes #390 (cef826c)
  • filters: filtering with IN_CONTAINS should also work with spaces (ab54724)
  • formatters: shouldn't auto-add editor formatter multiple times (177b8d4)
  • frozen: in some occasion column pinning changes column positions (70cb74e)
  • menu: toggle filter bar could be out of sync w/horizontal scroll (ab7f589)
  • pagination: able to change translate pubsub event name in component (4745063)
  • pagination: should be able to toggle Pagination (c0367c2)
  • Pagination: the Pagination wasn't showing when using dataset setter (ac3f933)
  • plugin: row move shouldn't go further when onBefore returns false (e9bfb5c)
  • resizer: few fixes & adjustments after trying in SF (32e80ec)
  • resizer: tweak resize check to stop much earlier (ea35b08)
  • services: toggle pagination was not displaying all row selection (e51ccb4)
  • state: changeColumnsArrangement should work w/columnIndexPosition (7c1e9d3)
  • state: Grid View/Columns dynamically should work w/row move (a7cf1df)
  • state: Grid View/Columns dynamically should work w/row selection (865944f)
  • styling: address latest dart-sass math division deprecation warning (b7317d8)
  • styling: header title should show ellipsis if too long (607e14d)
  • tree: calling updateItems should not lose the Tree collapsing icon (45b9622)
  • tree: using initiallyCollapsed change internal toggled state (380f2f9)