{"id":16810869,"url":"https://github.com/johan-dutoit/react-native-datatable","last_synced_at":"2025-07-10T06:07:36.752Z","repository":{"id":57336432,"uuid":"81663328","full_name":"Johan-dutoit/react-native-datatable","owner":"Johan-dutoit","description":"A simple data table for react native, working both on Android and iOS.","archived":false,"fork":false,"pushed_at":"2017-05-03T07:57:05.000Z","size":1410,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-17T05:40:34.628Z","etag":null,"topics":["android","datatable","datatables","ios","react-native"],"latest_commit_sha":null,"homepage":"","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/Johan-dutoit.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}},"created_at":"2017-02-11T15:55:51.000Z","updated_at":"2024-08-21T09:03:14.000Z","dependencies_parsed_at":"2022-09-03T08:00:36.127Z","dependency_job_id":null,"html_url":"https://github.com/Johan-dutoit/react-native-datatable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Johan-dutoit/react-native-datatable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Johan-dutoit%2Freact-native-datatable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Johan-dutoit%2Freact-native-datatable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Johan-dutoit%2Freact-native-datatable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Johan-dutoit%2Freact-native-datatable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Johan-dutoit","download_url":"https://codeload.github.com/Johan-dutoit/react-native-datatable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Johan-dutoit%2Freact-native-datatable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264538043,"owners_count":23624426,"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":["android","datatable","datatables","ios","react-native"],"created_at":"2024-10-13T10:16:54.266Z","updated_at":"2025-07-10T06:07:36.736Z","avatar_url":"https://github.com/Johan-dutoit.png","language":"JavaScript","readme":"# react-native-datatable\n\nA simple data table for react native, working both on Android and iOS.\n\n[![NPM Version](https://img.shields.io/npm/v/react-native-datatable.svg?style=flat)](https://www.npmjs.com/package/react-native-datatable)\n[![NPM Downloads](https://img.shields.io/npm/dm/react-native-datatable.svg?style=flat)](https://www.npmjs.com/package/react-native-datatable)\n\n\u003ca name='top'/\u003e\n\n## Quick Access\n* \u003ca href='#install'\u003eInstallation\u003c/a\u003e\n* \u003ca href='#preview'\u003ePreview\u003c/a\u003e\n* \u003ca href='#usage'\u003eUsage\u003c/a\u003e\n* \u003ca href='#properties'\u003eProperties\u003c/a\u003e\n* \u003ca href='#contributing'\u003eContributing\u003c/a\u003e\n\n## \u003ca name='install'\u003eInstallation\u003c/a\u003e\nInstall the module with:\n\n\n```\nnpm install react-native-datatable --save\n```\n\n## \u003ca name='preview'\u003ePreview\u003c/a\u003e\n\n![](https://github.com/Johan-dutoit/react-native-datatable/blob/master/preview.gif)\n\n\n## \u003ca name='usage'\u003eUsage\u003c/a\u003e\nIn your code, simply require/import the module:\n\n```js\nimport DataTable from 'react-native-datatable';\n```\n\n###### \u003ca href='#top'\u003eTop\u003c/a\u003e\n\n## \u003ca name='properties'\u003eProperties\u003c/a\u003e\n\n| Prop | Description | Default |\n|---|---|---|\n|**`fields`**|Field Configuration|`null`|\n|**`onSort`**|Function that executes when the user sorts a column|`null`|\n|**`dataSource`**|dataSource used to populate the table|`null`|\n|**`containerStyle`**|Style for container wrapping the entire view|`null`|\n|**`renderHeaderCell`**|Custom render function for the header cell|`null`|\n|**`headerStyle`**|Additional style for the header container|`null`|\n|**`headerCellStyle`**|Additional style for the header cell|`null`|\n|**`headerHighlightColor`**|Highlight color for when user taps the header|`gray`|\n|**`cellStyle`**|Additional style for a cell|`null`|\n\n###### \u003ca href='#top'\u003eTop\u003c/a\u003e\n\n## \u003ca name='#Contributing'\u003eContributing\u003c/a\u003e\nFeel free to do pull requests if a certain feature you want is missing.  We accept all PR's that are enhancements to the project.\n\n###### \u003ca href='#top'\u003eTop\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohan-dutoit%2Freact-native-datatable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohan-dutoit%2Freact-native-datatable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohan-dutoit%2Freact-native-datatable/lists"}