What is jedliGrid?
jedliGrid is lightweight, easy to use, pure (vanilla) JavaScript library to show and manage data in tables.
jedliGrid is lightweight, easy to use, pure (vanilla) JavaScript library to show and manage data in tables.
jedliGrid is made with functionality of ES6 like async/await, i haven't tested it yet on non 'present' browsers, but with some transpiler (like Babel) it should work on older browsers as well
"npm install jedligrid"
jedliGrid at NPMImport library
Simple html structure
<div data-item="grid">
</div>
Simple initialization
let grid = new jedliGrid(document.querySelector("[data-item='grid']"));
let contentObject = {
element1: {
content: 'content col 1',
params: {
customParam1: "Example 1",
customParam2: "Example 2"
}
},
element2: {
content: 'content col 2',
params: {
customParam1: "Example 1",
customParam2: "Example 2"
}
}
}