0.3.9 • Published 9 months ago
fg-grid v0.3.9
FG-Grid
Build v0.3.9
FG-Grid - Open source data grid library for building enterprise applications
Install
npm
npm install fg-grid
React
npm install fg-grid fg-grid-react-wrapper
CDN
https://cdn.jsdelivr.net/npm/fg-grid/styles/fg-grid.min.css
https://cdn.jsdelivr.net/npm/fg-grid/dist/fg-grid.min.js
Quick Start
Include a reference to the FG-Grid library
<link href="https://cdn.jsdelivr.net/npm/fg-grid/styles/fg-grid.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/fg-grid/dist/fg-grid.min.js"></script>
The Grid
object is now accessible. Happy griding!
<div id="grid"></div>
<script>
document.addEventListener('DOMContentLoaded', () => {
new Grid({
renderTo: 'grid',
width: 300,
height: 200,
data: [
{ brand: 'Lexus', model: 'RX 350', price: 60000, year: 2021 },
{ brand: 'Toyota', model: 'Land Cruiser Prado', price: 70000, year: 2022 },
{ brand: 'Volkswagen', model: 'Tiguan', price: 38000, year: 2021 },
{ brand: 'Volkswagen', model: 'Teramont', price: 60000, year: 2023 },
{ brand: 'Mazda', model: 'CX-9', price: 45000, year: 2023 },
{ brand: 'Honda', model: 'Pilot', price: 45000, year: 2023 },
{ brand: 'Kia', model: 'Sorento', price: 40000, year: 2023 },
],
columns: [{
index: 'brand',
title: 'Brand',
type: 'string'
},{
index: 'model',
title: 'Model',
type: 'string'
},{
index: 'price',
title: 'Price',
type: 'currency'
},{
index: 'year',
title: 'Year',
type: 'number'
}]
});
});
</script>
Support
If you need any assistance or would like to report any bugs found in FancyGrid, please contact us at support@fancygrid.com
0.3.9
9 months ago
0.3.8
9 months ago
0.3.7
9 months ago
0.3.6
10 months ago
0.3.5
10 months ago
0.3.4
10 months ago
0.3.3
10 months ago
0.3.2
10 months ago
0.3.1
10 months ago
0.3.0
10 months ago
0.2.8
10 months ago
0.2.7
10 months ago
0.2.6
10 months ago
0.2.5
10 months ago
0.2.3
10 months ago
0.2.2
10 months ago
0.2.1
10 months ago
0.2.0
10 months ago
0.1.4
10 months ago
0.1.3
10 months ago
0.1.2
10 months ago
0.1.1
10 months ago
0.1.0
10 months ago
0.0.3
10 months ago