{"id":28683666,"url":"https://github.com/dj-fiorex/angular2-smart-table","last_synced_at":"2025-06-14T03:03:52.024Z","repository":{"id":37979398,"uuid":"410587956","full_name":"dj-fiorex/angular2-smart-table","owner":"dj-fiorex","description":"Angular 2 Smart Data Table component","archived":false,"fork":true,"pushed_at":"2025-06-07T14:46:23.000Z","size":72297,"stargazers_count":53,"open_issues_count":19,"forks_count":25,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-07T15:32:39.284Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dj-fiorex.github.io/angular2-smart-table/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"akveo/ng2-smart-table","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dj-fiorex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-09-26T15:23:46.000Z","updated_at":"2025-06-07T14:46:28.000Z","dependencies_parsed_at":"2023-07-17T09:15:10.360Z","dependency_job_id":null,"html_url":"https://github.com/dj-fiorex/angular2-smart-table","commit_stats":{"total_commits":465,"total_committers":52,"mean_commits":8.942307692307692,"dds":0.6924731182795698,"last_synced_commit":"c4533e8fd7fadfec620a635ad3e05e1b37ba9380"},"previous_names":["dj-fiorex/ngx-smart-table"],"tags_count":71,"template":false,"template_full_name":null,"purl":"pkg:github/dj-fiorex/angular2-smart-table","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dj-fiorex%2Fangular2-smart-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dj-fiorex%2Fangular2-smart-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dj-fiorex%2Fangular2-smart-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dj-fiorex%2Fangular2-smart-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dj-fiorex","download_url":"https://codeload.github.com/dj-fiorex/angular2-smart-table/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dj-fiorex%2Fangular2-smart-table/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259752029,"owners_count":22905968,"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":"2025-06-14T03:01:10.516Z","updated_at":"2025-06-14T03:03:52.018Z","avatar_url":"https://github.com/dj-fiorex.png","language":"TypeScript","readme":"# Angular Smart Table Component\n\n\n## 🚀 This fork will be updated and maintained! 🚀\n\nI'm a self-employed developer so any help is welcome, open a pull request and help me improve this library\n\n\n## NEW Features\n\n* 🚀 Added hide/show row  \n* 🚀 Added Expandable Row (thanks [Samir](https://github.com/mominsamir))\n* 🚀 Added Column resizing (thanks [dreswgfuse](https://github.com/dreswgfuse))\n* 🚀 Added Multi Select for a column (thanks [thangluu93](https://github.com/thangluu93))\n* 🚀 Added type to Settings object\n* 🚀 Added Column resizing (thanks [dreswgfuse](https://github.com/dreswgfuse))\n* 🚀 Added custom action render component (thanks [bacali95](https://github.com/bacali95))\n* 🚀 Added Column sorting/filtering to nested objects (thanks [TejinderEvry](https://github.com/TejinderEvry))\n* 🚀 Added row data to custom component render (thanks [marchrius](https://github.com/marchrius))\n* 🚀 Include row data when invoking filterFunction (thanks [darrenhollick](https://github.com/darrenhollick))\n* 🚀 Ability to select a row programmatically (thanks [NicolaLC](https://github.com/NicolaLC))\n\n## Features\n\n* Local data source (Server/API DataSource is on its way)\n* Filtering\n* Sorting\n* Pagination\n* Inline Add/Edit/Delete\n* Flexible event model\n\n## Installation\n\nThe library is available as npm package, so all you need to do is to run the following command:\n\n```\nnpm i angular2-smart-table\n```\n\nThis command will create a record in your `package.json` file and install the package into the npm modules folder.\n\n\n\n## Minimal Setup Example\n\nFirst thing you need to do is to import the angular2-smart-table directives into your component.\n\n```\n\nimport { Angular2SmartTableModule } from 'angular2-smart-table';\n\n```\n\nThen register it by adding to the list of directives of your module:\n\n```\n// ...\n\n@NgModule({\n  imports: [\n    // ...\n    \n    Angular2SmartTableModule,\n    \n    // ...\n  ],\n  declarations: [ ... ]\n})\n// ...\n```\n\nNow, we need to configure the table and add it into the template. The only \u003cstrong\u003erequired\u003c/strong\u003e setting for the component to start working is a columns configuration.\nLet's register \u003ci\u003esettings\u003c/i\u003e property inside of the component where we want to have the table and configure some columns [Settings documentation](https://github.com/dj-fiorex/angular2-smart-table):\n    \n```\nsettings: Settings = {\n  columns: {\n    id: {\n      title: 'ID'\n    },\n    name: {\n      title: 'Full Name'\n    },\n    username: {\n      title: 'User Name'\n    },\n    email: {\n      title: 'Email'\n    }\n  }\n};\n```\n\nFinally let's put the angular2-smart-table component inside of the template:\n\n```\n// ...\n\n@Component({\n  template: `\n    \u003cangular2-smart-table [settings]=\"settings\"\u003e\u003c/angular2-smart-table\u003e\n  `\n})\n// ...\n```\nAt this step you will have a minimal configured table. All functions are available by default and you don't need to configure them anyhow, so now you can add/edit/delete rows, sort or filter the table, etc.\n \nStill it seems like something is missing... Right, there is no data in the table by default. To add some, let's create an array property with a list of objects in the component. Please note that object keys are the same as in the columns configuration.\n\n```\ndata = [\n  {\n    id: 1,\n    name: \"Leanne Graham\",\n    username: \"Bret\",\n    email: \"Sincere@april.biz\"\n  },\n  {\n    id: 2,\n    name: \"Ervin Howell\",\n    username: \"Antonette\",\n    email: \"Shanna@melissa.tv\"\n  },\n  \n  // ... list of items\n  \n  {\n    id: 11,\n    name: \"Nicholas DuBuque\",\n    username: \"Nicholas.Stanton\",\n    email: \"Rey.Padberg@rosamond.biz\"\n  }\n];\n```\n\nAnd pass the data to the table:\n\n```\n// ...\n\n@Component({\n  template: `\n    \u003cangular2-smart-table [settings]=\"settings\" [source]=\"data\"\u003e\u003c/angular2-smart-table\u003e\n  `\n})\n// ...\n```\n\nNow you have some data in the table. --\u003e\n \n## Further Documentation\nInstallation, customization and other useful articles: https://github.com/dj-fiorex/angular2-smart-table\n\n## License\n[MIT](LICENSE.txt) license.\n\n## How can I support developers?\n- Star our GitHub repo :star:\n- Create pull requests, submit bugs, suggest new features or documentation updates :wrench:\n\n## Thanks to our contributors!\n[\u003cimg alt=\"igorkosteski\" src=\"https://avatars.githubusercontent.com/u/9559960?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/igorkosteski)\n[\u003cimg alt=\"EphraimHaber\" src=\"https://avatars.githubusercontent.com/u/61934858?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/EphraimHaber)\n[\u003cimg alt=\"maixuanhan\" src=\"https://avatars.githubusercontent.com/u/12881054?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/maixuanhan)\n[\u003cimg alt=\"stephanrauh\" src=\"https://avatars.githubusercontent.com/u/3045767?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/stephanrauh)\n[\u003cimg alt=\"tawfiek\" src=\"https://avatars.githubusercontent.com/u/27981868?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/tawfiek)\n\n## Special thanks to our awesome maintainers!\n[\u003cimg alt=\"hexdecimal16\" src=\"https://avatars.githubusercontent.com/u/47829719?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/hexdecimal16)\n[\u003cimg alt=\"uap-universe\" src=\"https://avatars.githubusercontent.com/u/733505?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/uap-universe)\n\n## Special thanks to AKVEO team for starting this project!\n\n[\u003cimg alt=\"nnixaa\" src=\"https://avatars0.githubusercontent.com/u/230527?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/nnixaa)[\u003cimg alt=\"lexzhukov\" src=\"https://avatars0.githubusercontent.com/u/12192373?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/lexzhukov)[\u003cimg alt=\"damnko\" src=\"https://avatars2.githubusercontent.com/u/680205?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/damnko)[\u003cimg alt=\"Tibing\" src=\"https://avatars2.githubusercontent.com/u/17410089?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/Tibing)[\u003cimg alt=\"Ezeon\" src=\"https://avatars0.githubusercontent.com/u/21973741?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/Ezeon)[\u003cimg alt=\"Deilan\" src=\"https://avatars1.githubusercontent.com/u/4777512?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/Deilan)[\u003cimg alt=\"hoswey\" src=\"https://avatars0.githubusercontent.com/u/3689445?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/hoswey)[\u003cimg alt=\"stacyakveo\" src=\"https://avatars2.githubusercontent.com/u/27723447?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/stacyakveo)[\u003cimg alt=\"Akshaymisal5\" src=\"https://avatars3.githubusercontent.com/u/15906551?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/Akshaymisal5)[\u003cimg alt=\"geneeblack\" src=\"https://avatars0.githubusercontent.com/u/282525?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/geneeblack)[\u003cimg alt=\"vvandoorne\" src=\"https://avatars2.githubusercontent.com/u/26658175?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/vvandoorne)[\u003cimg alt=\"ananthhh\" src=\"https://avatars1.githubusercontent.com/u/3583234?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/ananthhh)[\u003cimg alt=\"bis-sb\" src=\"https://avatars1.githubusercontent.com/u/22668001?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/bis-sb)[\u003cimg alt=\"tadashi-aikawa\" src=\"https://avatars1.githubusercontent.com/u/9500018?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/tadashi-aikawa)\n\n[\u003cimg alt=\"nureha\" src=\"https://avatars2.githubusercontent.com/u/7064537?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/nureha)[\u003cimg alt=\"vlupu10\" src=\"https://avatars1.githubusercontent.com/u/3597512?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/vlupu10)[\u003cimg alt=\"zhouhao27\" src=\"https://avatars1.githubusercontent.com/u/8099731?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/zhouhao27)[\u003cimg alt=\"hkb1990\" src=\"https://avatars1.githubusercontent.com/u/2637138?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/hkb1990)[\u003cimg alt=\"liaosong\" src=\"https://avatars0.githubusercontent.com/u/3927282?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/liaosong)[\u003cimg alt=\"ktriek\" src=\"https://avatars2.githubusercontent.com/u/4461059?v=3\u0026s=60\" width=\"60\"\u003e](https://github.com/ktriek)\n\n### From dj-fiorex, forked from akveo\n","funding_links":[],"categories":["Third Party Components"],"sub_categories":["Data Grids"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdj-fiorex%2Fangular2-smart-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdj-fiorex%2Fangular2-smart-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdj-fiorex%2Fangular2-smart-table/lists"}