{"id":24075793,"url":"https://github.com/fancygrid/fg-grid-react","last_synced_at":"2026-05-15T19:33:56.665Z","repository":{"id":271616958,"uuid":"883063728","full_name":"FancyGrid/fg-grid-react","owner":"FancyGrid","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-09T18:02:56.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-09T20:08:26.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://fancygrid.com/fg-grid/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FancyGrid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-04T10:10:28.000Z","updated_at":"2026-05-09T18:03:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd7fa2ac-3273-4988-8d20-92c6f44d93d1","html_url":"https://github.com/FancyGrid/fg-grid-react","commit_stats":null,"previous_names":["fancygrid/fg-grid-react"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FancyGrid/fg-grid-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FancyGrid%2Ffg-grid-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FancyGrid%2Ffg-grid-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FancyGrid%2Ffg-grid-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FancyGrid%2Ffg-grid-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FancyGrid","download_url":"https://codeload.github.com/FancyGrid/fg-grid-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FancyGrid%2Ffg-grid-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33076226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-01-09T19:29:10.396Z","updated_at":"2026-05-15T19:33:56.650Z","avatar_url":"https://github.com/FancyGrid.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FG-Grid\n\nFG-Grid - Open source data grid library for building enterprise applications\n\n\u003cdiv align=\"center\"\u003e\n    \u003cpicture\u003e\n      \u003cimg width=\"100%\" alt=\"FG-Grid\" src=\"https://www.fg-grid.com/img/car-dealer-store-2.png\"/\u003e\n    \u003c/picture\u003e\n\u003c/div\u003e\n\n## Install\n\n#### *npm*\n```\nnpm install fg-grid fg-grid-react-wrapper\n```\n\n## Quick Start\n\n```jsx\nimport React, {useState} from 'react';\nimport {\n  FGGridReact\n} from 'fg-grid-react-wrapper';\n\nconst initialData = [\n  { brand: \"Lexus\", model: \"RX 350\", price: 60000, year: 2021 },\n  { brand: \"Lexus\", model: \"NX 300\", price: 50000, year: 2023 },\n  { brand: \"Toyota\", model: \"Land Cruiser Prado\", price: 70000, year: 2022 },\n  { brand: \"Toyota\", model: \"RAV4\", price: 35000, year: 2023 },\n  { brand: \"Volkswagen\", model: \"Tiguan\", price: 38000, year: 2021 },\n  { brand: \"Volkswagen\", model: \"Touareg\", price: 75000, year: 2023 },\n  { brand: \"Volkswagen\", model: \"Teramont\", price: 60000, year: 2023 },\n  { brand: \"Mazda\", model: \"CX-9\", price: 45000, year: 2023 },\n  { brand: \"Honda\", model: \"Pilot\", price: 45000, year: 2023 },\n  { brand: \"Nissan\", model: \"Pathfinder\", price: 48000, year: 2022 },\n  { brand: \"Hyundai\", model: \"Palisade\", price: 50000, year: 2023 },\n  { brand: \"Kia\", model: \"Sorento\", price: 40000, year: 2023 },\n  { brand: \"Ford\", model: \"Edge\", price: 42000, year: 2021 },\n  { brand: \"Chevrolet\", model: \"Traverse\", price: 45000, year: 2023 }\n];\n\nconst initialColumns = [{\n  index: 'brand',\n  title: 'Brand',\n  type: 'string'\n},{\n  index: 'model',\n  title: 'Model',\n  type: 'string'\n},{\n  index: 'price',\n  title: 'Price',\n  type: 'currency'\n},{\n  index: 'year',\n  title: 'Year',\n  type: 'number'\n}]\n\nfunction App(){\n  const [data, setData] = useState(initialData);\n  const [columns, setColumns] = useState(initialColumns);\n\n  return (\n    \u003cdiv className=\"App\"\u003e\n      \u003cdiv style={{width: '100%', height: '300px'}}\u003e\n        \u003cFGGridReact\n          defaults={{\n            sortable: true\n          }}\n          columns={columns}\n          data={data}\n          rowStyle={(params)=\u003e{\n            if(Number(params.item.price) \u003e 55000){\n              return {\n                'background-color': 'rgba(220, 107, 103, 0.2)'\n              }\n            }\n          }}\n        /\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  );\n}\n\nexport default App;\n```\n\n## TypeScript \n```tsx\nimport React, {useState} from 'react';\nimport {\n  FGGridReact\n} from 'fg-grid-react-wrapper';\n\nimport type Column from 'fg-grid';\n\ninterface IRow {\n  brand: string;\n  model: string;\n  price: number;\n  year: number;\n}\n\nconst initialData: IRow[] = [\n  { brand: \"Lexus\", model: \"RX 350\", price: 60000, year: 2021 },\n  { brand: \"Lexus\", model: \"NX 300\", price: 50000, year: 2023 },\n  { brand: \"Toyota\", model: \"Land Cruiser Prado\", price: 70000, year: 2022 },\n  { brand: \"Toyota\", model: \"RAV4\", price: 35000, year: 2023 },\n  { brand: \"Volkswagen\", model: \"Tiguan\", price: 38000, year: 2021 },\n  { brand: \"Volkswagen\", model: \"Touareg\", price: 75000, year: 2023 },\n  { brand: \"Volkswagen\", model: \"Teramont\", price: 60000, year: 2023 },\n  { brand: \"Mazda\", model: \"CX-9\", price: 45000, year: 2023 },\n  { brand: \"Honda\", model: \"Pilot\", price: 45000, year: 2023 },\n  { brand: \"Nissan\", model: \"Pathfinder\", price: 48000, year: 2022 },\n  { brand: \"Hyundai\", model: \"Palisade\", price: 50000, year: 2023 },\n  { brand: \"Kia\", model: \"Sorento\", price: 40000, year: 2023 },\n  { brand: \"Ford\", model: \"Edge\", price: 42000, year: 2021 },\n  { brand: \"Chevrolet\", model: \"Traverse\", price: 45000, year: 2023 }\n];\n\nconst initialColumns: Column\u003cIRow\u003e[] = [{\n  index: 'brand',\n  title: 'Brand',\n  type: 'string'\n},{\n  index: 'model',\n  title: 'Model',\n  type: 'string'\n},{\n  index: 'price',\n  title: 'Price',\n  type: 'currency'\n},{\n  index: 'year',\n  title: 'Year',\n  type: 'number'\n}]\n\nfunction App(){\n  const [data, setData] = useState\u003cIRow[]\u003e(initialData);\n  const [columns, setColumns] = useState\u003cColumn\u003cIRow\u003e[]\u003e(initialColumns);\n\n  return (\n    \u003cdiv className=\"App\"\u003e\n      \u003cdiv style={{width: '100%', height: '300px'}}\u003e\n        \u003cFGGridReact\u003cIRow\u003e\n          defaults={{\n            sortable: true\n          }}\n          columns={columns}\n          data={data}\n          rowStyle={(params)=\u003e{\n            if(Number(params.item.price) \u003e 55000){\n              return {\n                'background-color': 'rgba(220, 107, 103, 0.2)'\n              }\n            }\n          }}\n        /\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  );\n}\n\nexport default App;\n```\n\n## Support\nIf you need any assistance or would like to report any bugs found in FancyGrid, please contact us at support@fancygrid.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancygrid%2Ffg-grid-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffancygrid%2Ffg-grid-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancygrid%2Ffg-grid-react/lists"}