{"id":18008911,"url":"https://github.com/buoyad/ngdatasheet","last_synced_at":"2025-08-02T16:04:57.371Z","repository":{"id":57111791,"uuid":"87251218","full_name":"buoyad/ngDatasheet","owner":"buoyad","description":"Excel-esque datasheet for Angular 2","archived":false,"fork":false,"pushed_at":"2018-11-28T03:19:49.000Z","size":316,"stargazers_count":7,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-26T12:10:54.878Z","etag":null,"topics":["angular2","datasheet","npm","npm-module","webcomponent"],"latest_commit_sha":null,"homepage":"https://buoyad.github.io/ngDatasheet/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buoyad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-05T01:16:44.000Z","updated_at":"2021-04-29T01:22:19.000Z","dependencies_parsed_at":"2022-08-21T00:01:06.960Z","dependency_job_id":null,"html_url":"https://github.com/buoyad/ngDatasheet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buoyad/ngDatasheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buoyad%2FngDatasheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buoyad%2FngDatasheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buoyad%2FngDatasheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buoyad%2FngDatasheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buoyad","download_url":"https://codeload.github.com/buoyad/ngDatasheet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buoyad%2FngDatasheet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268415881,"owners_count":24246812,"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-08-02T02:00:12.353Z","response_time":74,"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":["angular2","datasheet","npm","npm-module","webcomponent"],"created_at":"2024-10-30T02:07:57.724Z","updated_at":"2025-08-02T16:04:57.344Z","avatar_url":"https://github.com/buoyad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NgDatasheet\r\n\r\nDatasheet component for Angular 2 that allows user interaction and prettified display alike.\r\n\r\n## Notice\r\n\r\nThis component is still under development. Breaking changes are subject to release with no notice.\r\n\r\n## Installation\r\n\r\n`npm install --save ngdatasheet`\r\n\r\n## Usage\r\n\r\nImport NgDatasheetModule into your NgModule:\r\n\r\n```typescript\r\n  ...\r\n  import { NgModule }      from '@angular/core';\r\n  import { NgDatasheetModule } from 'ngdatasheet/ngdatasheet';\r\n  ...\r\n\r\n  ...\r\n  @NgModule({\r\n    imports:      [ NgDatasheetModule ]\r\n    ...\r\n```\r\n\r\nIn your component define a 2-D data array:\r\n\r\n```typescript\r\npublic data: any[][] = [\r\n    ['Item',               'Unit price', 'Quantity',       'Price'],\r\n    ['Joy Division shirt',          25,           4,           100],\r\n    ['Cutoff jeans',                30,          24,           720],\r\n    ['Peeps',                     1.25,         100,           125],\r\n    ['Subtotal',                      ,            ,           945],\r\n    ['Tax',                           ,      '3.0%',       .03*945],\r\n    ['Total',                         ,            , 945 + .03*945]\r\n  ]\r\n```\r\n\r\nAnd bind to it in your template: \r\n\r\n```html\r\n\u003cng-datasheet [(data)]=\"data\"\u003e\u003c/ng-datasheet\u003e\r\n```\r\nOutput:\r\n\r\n\u003cdiv style=\"text-align: center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/buoyad/ngDatasheet/master/example.png\"\u003e\u003c/img\u003e\u003c/div\u003e\r\n\r\n## Planned Features\r\n\r\n* Inline expression evaluation \r\n* `data` property: \r\n  * Support for relative expressioning via property  \r\n  * Support for defining cells as read-only  \r\n  * Support for inline templating with the following API:  \r\n    * Defining templates within the `\u003cng-datasheet\u003e\u003c/ng-datasheet\u003e` using a directive  \r\n    * Injecting `\u003cng-template\u003e` with selector as supplied in the appropriate spot in the `data` array\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuoyad%2Fngdatasheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuoyad%2Fngdatasheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuoyad%2Fngdatasheet/lists"}