{"id":21585101,"url":"https://github.com/angular-ru/angular-ru-ng-table-builder-example-app","last_synced_at":"2026-03-02T04:01:27.141Z","repository":{"id":90970948,"uuid":"274107620","full_name":"Angular-RU/angular-ru-ng-table-builder-example-app","owner":"Angular-RU","description":"DEMO: https://angular-ru.github.io/angular-ru-ng-table-builder-example-app/","archived":false,"fork":false,"pushed_at":"2021-07-08T12:50:25.000Z","size":43084,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T09:13:31.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Angular-RU.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":"2020-06-22T10:30:03.000Z","updated_at":"2021-07-08T12:50:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"6012b8b8-1f7f-4bb4-bc76-1f0af99be9e1","html_url":"https://github.com/Angular-RU/angular-ru-ng-table-builder-example-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Angular-RU/angular-ru-ng-table-builder-example-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angular-RU%2Fangular-ru-ng-table-builder-example-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angular-RU%2Fangular-ru-ng-table-builder-example-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angular-RU%2Fangular-ru-ng-table-builder-example-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angular-RU%2Fangular-ru-ng-table-builder-example-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Angular-RU","download_url":"https://codeload.github.com/Angular-RU/angular-ru-ng-table-builder-example-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angular-RU%2Fangular-ru-ng-table-builder-example-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29992286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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-24T15:09:03.770Z","updated_at":"2026-03-02T04:01:27.114Z","avatar_url":"https://github.com/Angular-RU.png","language":"HTML","readme":"# Angular Table Builder\n\n[![npm version](https://badge.fury.io/js/%40angular-ru%2Fng-table-builder.svg)](https://badge.fury.io/js/%40angular-ru%2Fng-table-builder)\n[![npm-stat](https://img.shields.io/npm/dt/@angular-ru/ng-table-builder.svg)](https://npm-stat.com/charts.html?package=@angular-ru/ng-table-builder\u0026from=2017-01-12)\n\nThe Angular Table Builder includes a comprehensive set of ready-to-use features covering everything from paging,\nsorting, filtering, editing, and grouping to row and column virtualization, and accessibility support.\n\nDemo: https://angular-ru.github.io/angular-ru-ng-table-builder-example-app/\n\n```bash\n$ npm install --save @angular-ru/ng-table-builder\n```\n\nAfter a few seconds of waiting, you should be good to go. Let's get to the actual coding! As a first step, let's add the\nAngular table builder module to our app module (src/app.module.ts):\n\n```ts\nimport { TableBuilderModule } from '@angular-ru/ng-table-builder';\n\n@NgModule({\n    imports: [\n        // ...\n        TableBuilderModule.forRoot()\n    ]\n})\nexport class AppModule {}\n```\n\n### Simple use\n\nNext, let's declare the basic grid configuration. Edit src/app.component.ts:\n\n```ts\nimport { Component } from '@angular/core';\nimport { MyData } from './my-data.interface';\n\n@Component({\n    selector: 'app-root',\n    template: ` \u003cngx-table-builder [source]=\"data\"\u003e\u003c/ngx-table-builder\u003e `\n})\nexport class AppComponent {\n    public data: MyData[] = [\n        { make: 'Toyota', model: 'Celica', price: 35000 },\n        { make: 'Ford', model: 'Mondeo', price: 32000 },\n        { make: 'Porsche', model: 'Boxter', price: 72000 }\n    ];\n}\n```\n\nsee: https://stackblitz.com/edit/ng-table-builder-simple\n\nThe `ngx-table-builder` provides a styled data-table that can be used to display rows of data. The ngx-table-builder is\nan customizable data-table with a fully-templated API, dynamic columns, and an accessible DOM structure. This component\nacts as the core upon which anyone can build their own tailored data-table experience.\n\n### Custom template\n\n```ts\n// app.component.ts\nimport { Component } from '@angular/core';\nimport { LicenseSample } from './license.interface';\n\n@Component({\n    selector: 'app',\n    templateUrl: './app.component.html'\n})\nexport class AppComponent {\n    public licenses: LicenseSample[] = [\n        {\n            id: 1,\n            name: 'single',\n            price: 29.3\n        },\n        {\n            id: 2,\n            name: 'developer',\n            price: 49.8\n        },\n        {\n            id: 3,\n            name: 'premium',\n            price: 99.5\n        },\n        {\n            id: 4,\n            name: 'enterprise',\n            price: 199\n        }\n    ];\n}\n```\n\n```html\n\u003c!-- app.component.html --\u003e\n\u003cngx-table-builder [source]=\"licenses\"\u003e\n    \u003cngx-column key=\"name\"\u003e\n        \u003cng-template ngx-th\u003eLicense\u003c/ng-template\u003e\n        \u003cng-template ngx-td let-name\u003e{{ name | uppercase }}\u003c/ng-template\u003e\n    \u003c/ngx-column\u003e\n\n    \u003cngx-column key=\"price\"\u003e\n        \u003cng-template ngx-th\u003eCost\u003c/ng-template\u003e\n        \u003cng-template ngx-td let-price\u003e{{ price | currency }}\u003c/ng-template\u003e\n    \u003c/ngx-column\u003e\n\u003c/ngx-table-builder\u003e\n```\n\n### TODO:\n\n-   [x] Simple use and setup;\n-   [x] Virtual scroll (horizontal, vertical);\n-   [x] Auto calculate height;\n-   [x] Customisable Appearance;\n-   [x] State Persistence;\n-   [x] Filtering;\n-   [x] Resizing;\n-   [x] Sorting;\n-   [x] Selection;\n-   [x] Context menu;\n-   [ ] Outstanding Performance (need improved);\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-ru%2Fangular-ru-ng-table-builder-example-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular-ru%2Fangular-ru-ng-table-builder-example-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-ru%2Fangular-ru-ng-table-builder-example-app/lists"}