{"id":16801252,"url":"https://github.com/ixrock/mobx-react-table-grid","last_synced_at":"2026-02-09T03:31:43.658Z","repository":{"id":224192196,"uuid":"632853886","full_name":"ixrock/mobx-react-table-grid","owner":"ixrock","description":"Easy to use react.js table-component powered by native CSS grid","archived":false,"fork":false,"pushed_at":"2024-11-28T15:23:02.000Z","size":1321,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T10:41:27.652Z","etag":null,"topics":["css-grid","data-visualization","grid-layout","mobx","react-components","reactjs","table-grid","tableview"],"latest_commit_sha":null,"homepage":"https://mobx-react-table-grid.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ixrock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-04-26T09:10:29.000Z","updated_at":"2024-12-06T16:10:45.000Z","dependencies_parsed_at":"2025-04-22T18:15:51.192Z","dependency_job_id":null,"html_url":"https://github.com/ixrock/mobx-react-table-grid","commit_stats":null,"previous_names":["ixrock/mobx-react-table-grid"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ixrock/mobx-react-table-grid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixrock%2Fmobx-react-table-grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixrock%2Fmobx-react-table-grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixrock%2Fmobx-react-table-grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixrock%2Fmobx-react-table-grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ixrock","download_url":"https://codeload.github.com/ixrock/mobx-react-table-grid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixrock%2Fmobx-react-table-grid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29255602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T03:07:45.136Z","status":"ssl_error","status_checked_at":"2026-02-09T03:07:24.123Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["css-grid","data-visualization","grid-layout","mobx","react-components","reactjs","table-grid","tableview"],"created_at":"2024-10-13T09:36:17.462Z","updated_at":"2026-02-09T03:31:43.633Z","avatar_url":"https://github.com/ixrock.png","language":"TypeScript","readme":"Powerful, simple, fast and API-friendly CSS-grid component (based on React/MobX) \n----\n\n## Install | [npm](https://www.npmjs.com/package/mobx-react-table-grid)\n```\nnpm install mobx-react-table-grid\n```\n\n## Benefits\n\n- simple API _(just use as data input plain-objects and data-getters, mostly see `TableDataColumn` and `TableDataRow` interfaces)_\n- table rows virtualization _(you can easily handle 50k+ items (e.g. k8s resources) without slowness in UI while having access to data)_\n- most of the layout done via `display: grid` with some help of css-variables _(works really fast!)_ \n- multi-columns sorting _(powered by `lodash/orderBy`)_ \n- reordering columns: drag the heading column _(powered by `react-dnd`)_ \n- filtering columns _(show/hide/search)_ \n- resizing columns + reset to default (css-grid min-content)\n- lightweight rows search implementation (see `demo.tsx`)\n- rows/data selection state management (see `demo.tsx`)\n- import/export grid-state to external storage (e.g. `window.localStorage`, see `demo.tsx`)\n- customize column sizes via css-variables `--grid-col-size-${columnId}` _(see usage in `demo.module.css`)_\n- `mobx` observability for grid state management under the hood\n\n## Demo\n\n```\ngit clone https://github.com/ixrock/mobx-react-table-grid.git\nnpm install\nnpm run dev\n```\n\n![Screenshot](./public/demo-sshot.png)\n\n\n## Example\n\n```tsx\nimport \"mobx-react-table-grid/index.css\"; // or @import in *.css \nimport React from \"react\"\nimport { createRoot } from \"react-dom/client\" // react@18+\nimport { observer } from \"mobx-react\"\nimport { createTableState, Table } from \"mobx-react-table-grid\";\n\ninterface ResourceItem {\n  id: string | number;\n  name: string;\n  hobby: string[];\n  renderName(): React.ReactNode;\n};\n\nconst tableState = createTableState\u003cResourceItem\u003e({\n  items: [\n    {\n      id: 1,\n      name: \"Joe\",\n      hobby: [\"hacking\", \"martial-arts\"],\n      renderName(){ return \u003cb\u003eJoel White\u003c/b\u003e },\n    },\n    {\n      id: 2,\n      name: \"Ann\",\n      hobby: [\"dancing\"],\n      renderName(){ return \u003cb\u003eAnna Dark\u003c/b\u003e },\n    }\n  ],\n  columns: [\n    {\n      id: \"index\",\n      title: \u003cb\u003e#\u003c/b\u003e,\n      renderValue: (row, col) =\u003e row.index,\n    },\n    {\n      id: ResourceColumnId.name,\n      title: \u003c\u003eName\u003c/\u003e,\n      renderValue: (row, col) =\u003e row.data.renderName(),\n      sortValue: (row, col) =\u003e row.data.name,\n    },\n    {\n      id: ResourceColumnId.hobby,\n      title: \u003c\u003eHobby\u003c/\u003e,\n      renderValue: (row, col) =\u003e \u003cb\u003e{row.data.hobby.join(\", \")}\u003c/b\u003e,\n      sortValue: (row, col) =\u003e row.data.hobby.join(\"\"),\n      searchValue: (row, col) =\u003e row.data.hobby.join(\" \"),\n    },\n  ]\n});\n\nconst Demo = observer(() =\u003e {\n  const { tableColumns, searchResultTableRows } = tableState;\n  return (\n    \u003cTable\n      id=\"table-grid-demo\"\n      columns={tableColumns.get()}\n      rows={searchResultTableRows.get()}\n    /\u003e\n  );\n});\n\n// react@18+\nconst appRootElem = document.getElementById(\"app\");\ncreateRoot(appRootElem).render(\u003cDemo/\u003e);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixrock%2Fmobx-react-table-grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fixrock%2Fmobx-react-table-grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixrock%2Fmobx-react-table-grid/lists"}