# agr-lib **Repository Path**: mirrors_epam/agr-lib ## Basic Information - **Project Name**: agr-lib - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-03 - **Last Updated**: 2026-01-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AGR: Amazing Grid Library A simple and intuitive library for building grid functionality --- ## Description This library allows you to make the functionality of the grid (without rendering) and can be using with any frameworks. ## Features - Column management(reorder, pin, group) - Plain and Multi-level grid - Multi-level filtering - Multiple sorting - Multi-level footer calculation (Sum, Average, Min, Max) - Export to Excel file ## Get Started ### Install the library: `npm i agr-lib` ### Import and initialize grid using definition ```javascript import {gridEndgine} from 'agr-lib'; const grid = new gridEngine([ { title: 'First Name', field: 'firstName', }, { title: 'Last Name', field: 'lastName', }, ]); ``` ### Assign some data to grid ```javascript grid.data = [ { firstName: 'John', lastName: 'Paul', }, { firstName: 'Amanda', lastName: 'Rottenberg', }, ]; ``` After this grid object contains: - property `header` - columns for rendering header part of table; - property `body` - columns for rendering body part of table - property `rows` - rows from data for rendering aligned by columns from `body` ## License This project is licensed under the MIT license. See the [LICENSE file](LICENSE.txt) for more info.