SlickGrid Bare
This is a stripped down version of slickgrid-es6
It does not have any default plugins, editors, cell renderers that you normally find in other SlickGrid forks. It has no jQuery-UI (uses customised version of Interact.js instead).
Install
Simply (with jquery peer dep):
$ npm i slickgrid-bare jquery --save$ yarn add slickgrid-bare jquery
The peerDependency on jQuery is v2.2+ that you have to provide yourself (which is deemed insecure), works with that or v3+
Use (full bundle)
; const data = ... ...;const columns = id: 'name' resizable: true name: 'Name' field: 'name' cssClass: 'is-text' minWidth: 60 maxWidth: 200 sortable: true a > b ? -1 : 0 `<div></div>`;const options = rowHeight: 30 editable: false enableAddRow: false enableColumnResize: true enableColumnReorder: true frozenColumn: 1 enableCellNavigation: true asyncEditorLoading: false enableAsyncPostRender: true asyncPostRenderDelay: 1 enableAsyncPostRenderCleanup: true autoEdit: false showHeaderRow: false headerRowHeight: 28 enableTextSelectionOnCells: true forceFitColumns: true fullWidthRows: true explicitInitialization: true;const grid = document data columns options; gridonColumnsReordered; grid;
Optimised use for build sizes in module imports:
;;;;
WARNING: This package does not come with a compiled CSS version, you get .SCSS export only. Ideally, copy the files locally and fix but some defaults are available.
; ;; ; ;; ;;;; ;// more here.