{"id":15840317,"url":"https://github.com/davealdon/dynamic-datatables","last_synced_at":"2025-10-24T20:11:24.928Z","repository":{"id":105658671,"uuid":"143901514","full_name":"DaveAldon/Dynamic-Datatables","owner":"DaveAldon","description":"Javascript datatables with a bit more dynamism for easy changes and re-usability.","archived":false,"fork":false,"pushed_at":"2018-08-07T18:12:33.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T04:07:04.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://davealdon.github.io/Dynamic-Datatables/","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/DaveAldon.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-07T16:42:53.000Z","updated_at":"2018-08-07T18:12:34.000Z","dependencies_parsed_at":"2023-06-12T18:28:07.432Z","dependency_job_id":null,"html_url":"https://github.com/DaveAldon/Dynamic-Datatables","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/DaveAldon%2FDynamic-Datatables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveAldon%2FDynamic-Datatables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveAldon%2FDynamic-Datatables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveAldon%2FDynamic-Datatables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaveAldon","download_url":"https://codeload.github.com/DaveAldon/Dynamic-Datatables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246680923,"owners_count":20816795,"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-10-05T16:42:52.205Z","updated_at":"2025-10-24T20:11:19.886Z","avatar_url":"https://github.com/DaveAldon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic-Datatables\nJavascript datatables with a bit more dynamism for easy changes and re-usability.\n\nA problem with datatables in many cases is that you have to define your columns and data in more than one location. \nUsually it's in the html structure and the ajax call. My goal has always been to subdue the logic and make data\ndefined in only one location, but still allow flexibility for overriding default content, adding call backs,\nand basically whatever you're used to doing when manipulating datatable output.\n\nBut we also don't want to care about changing anything on the source end, because not everyone can dictate in what\nformat they'll receive their data.\n\nCurrently our only data definition is a javascript dictionary, which can contain any amount of information on specific\ncolumns if we so choose. In this example, our value of the dictionary is the display value for our column.\n\nvar dynamicColumns = {\n\t\"id\":[],\n\t\"name\":[\"Patient Name\"],\n}\n\nIf it's blank, it defaults to the column's actual name. In the future, I'll be adding more complexity to this method\nand make it better and easier to throw in a datatable and change its columns on the fly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavealdon%2Fdynamic-datatables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavealdon%2Fdynamic-datatables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavealdon%2Fdynamic-datatables/lists"}