{"id":18721136,"url":"https://github.com/codera21/ajaxplugin","last_synced_at":"2025-07-29T22:14:18.546Z","repository":{"id":110426394,"uuid":"154978113","full_name":"codera21/ajaxPlugin","owner":"codera21","description":"jQuery Plugin for making automatic paginated tables","archived":false,"fork":false,"pushed_at":"2019-05-02T04:53:48.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T15:12:39.481Z","etag":null,"topics":[],"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/codera21.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-10-27T15:15:06.000Z","updated_at":"2019-05-02T04:53:50.000Z","dependencies_parsed_at":"2023-04-09T04:55:37.605Z","dependency_job_id":null,"html_url":"https://github.com/codera21/ajaxPlugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codera21/ajaxPlugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codera21%2FajaxPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codera21%2FajaxPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codera21%2FajaxPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codera21%2FajaxPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codera21","download_url":"https://codeload.github.com/codera21/ajaxPlugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codera21%2FajaxPlugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267771604,"owners_count":24142077,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-07T13:33:42.455Z","updated_at":"2025-07-29T22:14:18.505Z","avatar_url":"https://github.com/codera21.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ajaxPlugin\n\njQuery plugin like datatables\n\n\n```\n$('table').ajaxGrid({\n        requestType: 'get',\n        pageSize: 10,\n        defaultSortExpression: 'gid',\n        defaultSortOrder: 'desc',\n        tableHeading: '.table-header',\n        url: 'Paginate-AjaxGrid/app/api.php',\n        loadingImage: $('#loading-msg'),\n        NoRecordsFound: 'No Records Found',\n        id: 'gid',\n        rowClass: {class: \" my-class\"},\n        addClassToTd: {fields: ['gemail', 'gname'], class: \"my-td\"}\n    });\n\n```\n# refresh grid\n```\n $('table').trigger(\"refreshGrid\", {filter: document.searchform.filter.value});\n\n```\n### example \n```\n postContent: [\n\n                {\n                    control: $('\u003cbutton  name =\"EditPost\" type=\"button\" class=\"btn btn-rounded btn-info\" onclick=\\'showEditForm(this,\"Edit Post\",\"http://kalakathmandu.com/admin/GalleryItem/Form\",600,450)\\'\u003e' +\n                            '\u003csmall class=\"glyphicon glyphicon-pencil\"\u003e\u003c/small\u003e' +\n                            ' Edit' +\n                            '\u003c/button\u003e')\n                }\n\n                , {\n                    control: $(\"\u003cform style='display: inline-block' action='http://kalakathmandu.com/admin/GalleryItem/Delete' method='POST'\u003e\" +\n                            \"\u003cinput type='hidden' name='ID' id='ID' /\u003e \" +\n                            '\u003cbutton name=\"DeleteUser\" type=\"submit\" class=\"btn btn-rounded btn-danger\" onclick=\\'return Confirmation(this,\"Delete Post\",\"Are you sure you want to delete?\", \"Yes\", \"No\")\\'\u003e' +\n                            '\u003csmall class=\"glyphicon glyphicon-trash\"\u003e\u003c/small\u003e' +\n                            ' Delete' +\n                            '\u003c/button\u003e\u003c/form\u003e'),\n                    properties: [\n                        {\n                            propertyField: 'input[type=hidden]#ID',\n                            property: 'value',\n                            propertyValue: 'ID'\n                        }\n                    ]\n                }\n\n            ]\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodera21%2Fajaxplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodera21%2Fajaxplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodera21%2Fajaxplugin/lists"}