{"id":19791671,"url":"https://github.com/lemonadejs/react-data-grid","last_synced_at":"2025-08-03T06:38:06.978Z","repository":{"id":166105671,"uuid":"641531010","full_name":"lemonadejs/react-data-grid","owner":"lemonadejs","description":"Reactive JavaScript Data Grid","archived":false,"fork":false,"pushed_at":"2023-09-28T17:13:10.000Z","size":364,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T04:21:38.276Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lemonadejs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-05-16T17:00:54.000Z","updated_at":"2023-05-16T17:22:50.000Z","dependencies_parsed_at":"2023-09-28T19:15:51.016Z","dependency_job_id":null,"html_url":"https://github.com/lemonadejs/react-data-grid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonadejs%2Freact-data-grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonadejs%2Freact-data-grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonadejs%2Freact-data-grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonadejs%2Freact-data-grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemonadejs","download_url":"https://codeload.github.com/lemonadejs/react-data-grid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241131934,"owners_count":19915036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T07:04:23.599Z","updated_at":"2025-02-28T09:37:47.221Z","avatar_url":"https://github.com/lemonadejs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DataGridLM-React\n[Official website and documentation is here](https://lemonadejs.net/components/datagrid)\n\nWelcome to the React version of [Lemon Datagrid](https://github.com/lemonadejs/data-grid). This project makes DataGridLM usable in React.\nFor more information, please check the DataGridLM page.\n\n## Features\n\n-   Lightweight: DataGridLM is only about 5 Kbytes in size, making it fast and easy to load.\n-   Customizable: You can define columns and user-defined actions to suit your specific use case.\n-   Reactive: Any changes to the underlying data are automatically applied to the HTML, making it easy to keep your grid up-to-date.\n-   Integration: DataGridLM can be used as a standalone library or integrated with LemonadeJS or React.\n\n## Getting Started\n\n### npm Installation\n\nTo install your project using npm, run the following command:\n\n```bash\n$ npm install @lemonadejs/react-data-grid\n```\n\n### Usage\n\nIn a React Component, you can directly call the Datagrid within the JSX by passing the **options** as props, along with the element's **ref**.\n\n```javascript\nimport React, { useState, useRef } from 'react'\nimport Datagrid from '@lemonadejs/react-data-grid'\n\nfunction Component() {\n    const [data, setData] = useState([\n            { name: 'The Last of Us 2', releaseDate: '2022' },\n            { name: 'West World', releaseDate: '2017' }\n        ])\n\n    const [columns, setColumns] = useState([\n            { name: 'name', headerName: 'Title' },\n            { name: 'releaseDate', headerName: 'Release Date' }\n        ])\n\n    const datagridRef = useRef()\n\n    return (\n        \u003cdiv\u003e\n            \u003cDatagrid data={data} columns={columns} ref={datagridRef} /\u003e\n        \u003c/div\u003e\n    )\n}\n```\n\n### Examples\n\nHere are a few examples of DataGridLM in action:\n\n-   [Basic Data Grid Example](https://lemonadejs.net/components/datagrid#example-1)\n-   [Example with Large Data Sets](https://lemonadejs.net/components/datagrid#example-2)\n-   [Example with Data Addition and Deletion](https://lemonadejs.net/components/datagrid#example-3)\n\n## Contributing\n\nDataGridLM-React is an open source project and contributions are welcome! If you find a bug or have a feature request, please open an issue on GitHub. If you'd like to contribute code, please fork the repository and submit a pull request.\n\n## License\n\nDataGridLM-React is released under the MIT.\n\n## Other Tools\n\n- [jSuites](https://jsuites.net/v4/)\n- [Jspreadsheet](https://jspreadsheet.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemonadejs%2Freact-data-grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemonadejs%2Freact-data-grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemonadejs%2Freact-data-grid/lists"}