{"id":25245766,"url":"https://github.com/t2wain/tan-datatable","last_synced_at":"2025-04-05T21:19:10.677Z","repository":{"id":196270007,"uuid":"694892890","full_name":"t2wain/tan-datatable","owner":"t2wain","description":"React component for the DataTable.net","archived":false,"fork":false,"pushed_at":"2023-09-26T11:31:03.000Z","size":2054,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T02:02:31.034Z","etag":null,"topics":["datatable-net","typescript-react"],"latest_commit_sha":null,"homepage":"https://t2wain.github.io/tan-datatable/","language":"TypeScript","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/t2wain.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-09-21T23:07:33.000Z","updated_at":"2023-10-01T15:37:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"69e7dcf3-7da0-46a6-9cb2-d7b1675c4317","html_url":"https://github.com/t2wain/tan-datatable","commit_stats":null,"previous_names":["t2wain/tan-datatable"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2wain%2Ftan-datatable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2wain%2Ftan-datatable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2wain%2Ftan-datatable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t2wain%2Ftan-datatable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t2wain","download_url":"https://codeload.github.com/t2wain/tan-datatable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247400430,"owners_count":20932979,"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":["datatable-net","typescript-react"],"created_at":"2025-02-12T02:02:44.161Z","updated_at":"2025-04-05T21:19:10.646Z","avatar_url":"https://github.com/t2wain.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\n\nThis is a sample DataTable.net React component to display data in a table. This is a feature extracted from an application I developed. I have also refactored the code so that it can be reused more easily.  The basic usage is follow:\n\n```JSX\n\u003cTNDataTable {...{ tblData, colDefs, order }} /\u003e\n```\n\n- tblData - an array of json objects. Note, the table will be updated when data changed.\n- colDefs - an array of column config per DataTable.net. Note, if the column has a css class *.select-filter*, a dropdown filter will be setup for that column.\n- order - an array of default sort columns per DataTable.net\n\nAll the code calling the DataTable.net api is extracted to a separate module since it is manipulating the DOM outside of React.  \n\n## React Custom Hook\n\nThe custom hook *useData* can assist with making an async method call (such as to retrieve data) while providing a loading status and a display message.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft2wain%2Ftan-datatable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft2wain%2Ftan-datatable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft2wain%2Ftan-datatable/lists"}