NgDatasheet
Datasheet component for Angular 2 that allows user interaction and prettified display alike.
Notice
This component is still under development. Breaking changes are subject to release with no notice.
Installation
npm install --save ngdatasheet
Usage
Import NgDatasheetModule into your NgModule:
... ; ; ... ...
In your component define a 2-D data array:
public data: any =
And bind to it in your template:
Output:
Planned Features
- Inline expression evaluation
data
property:- Support for relative expressioning via property
- Support for defining cells as read-only
- Support for inline templating with the following API:
- Defining templates within the
<ng-datasheet></ng-datasheet>
using a directive - Injecting
<ng-template>
with selector as supplied in the appropriate spot in thedata
array
- Defining templates within the