11.0.3 • Published 4 years ago

@biliboobrian/ng-datasheet v11.0.3

Weekly downloads
136
License
MIT
Repository
github
Last release
4 years ago

ng-datasheet

Datasheet library with or without inline modifications with many possiblities.

  • Keyboard navigation
  • Sorting, filtering
  • Static complete set of data or lazy data loading
  • Column Validation using ReactiveForm Validators
  • Extensible Columns type with simple way to create your own type
  • Style customization
  • Copy / paste of data to excel sheet
  • Manage hierarchical set of data

Installation via NPM

This project has been created with Angular 6+. It is using for dependencies ng-bootstrap, font-awsome, moment and ng-select.

Check it out on Github and installation using npm.

npm install --save @biliboobrian/ng-datasheet @ng-bootstrap/ng-bootstrap @ng-select/ng-select @fortawesome/fontawesome-free moment moment-es6

Import inside your NgModule

Import the library inside your NgModule by adding the import statment and adding an import 'NgDatasheetModule' inside your @NgModule imports object.

import { NgDatasheetModule } from '@biliboobrian/ng-datasheet';

...

@NgModule({
	imports: [
		CommonModule,
		...
		NgDatasheetModule
	],
	declarations: [
		...
	]
})

Instanciate your first Ng-DataSheet

In a component child of your module, add in the .html file the ng-datasheet tag.

<ds-datasheet
	[trBgColor]="'#fffede'"
	[dataSet]="dataSet"
	[columns]="columns">
</ds-datasheet>

And add in the .ts file the description of your columns and the dataSet Object.

import {
	CellViewBasicComponent,
	CellEditBasicComponent,
	Column
} from '@biliboobrian/ng-datasheet';

...

export class yourComponent implements OnInit {

	columns: Array<Column>;
	dataSet: Array<object> = [];

	...

	ngOnInit() {
		let col: Column = new Column('ID', 'id', CellViewBasicComponent, CellEditBasicComponent, 60);
		this.columns.push(col);

		col = new Column('Firstname', 'firstname', CellViewBasicComponent, CellEditBasicComponent, 0);
		this.columns.push(col);

		...
	}

For more information, documentation and demo please see the Homepage.

11.0.3

4 years ago

0.2.59

4 years ago

0.2.58

4 years ago

0.2.57

4 years ago

11.0.0

4 years ago

11.0.1

4 years ago

0.2.56

5 years ago

0.2.55

6 years ago

0.2.54

6 years ago

0.2.53

6 years ago

0.2.52

6 years ago

0.2.51

6 years ago

0.2.50

6 years ago

0.2.49

6 years ago

0.2.48

6 years ago

0.2.47

6 years ago

0.2.46

6 years ago

0.2.45

6 years ago

0.2.44

6 years ago

0.2.43

6 years ago

0.2.42

6 years ago

0.2.41

6 years ago

0.2.40

6 years ago

0.2.39

6 years ago

0.2.38

6 years ago

0.2.37

6 years ago

0.2.36

6 years ago

0.2.35

6 years ago

0.2.34

6 years ago

0.2.33

6 years ago

0.2.32

6 years ago

0.2.31

6 years ago

0.2.30

6 years ago

0.2.29

6 years ago

0.2.28

6 years ago

0.2.27

6 years ago

0.2.26

6 years ago

0.2.25

6 years ago

0.2.24

6 years ago

0.2.23

6 years ago

0.2.22

6 years ago

0.2.21

6 years ago

0.2.20

6 years ago

0.2.19

6 years ago

0.2.18

6 years ago

0.2.17

6 years ago

0.2.16

6 years ago

0.2.15

6 years ago

0.2.14

6 years ago

0.2.13

6 years ago

0.2.12

6 years ago

0.2.11

6 years ago

0.2.10

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.22

6 years ago

0.1.21

6 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.52

6 years ago

0.0.51

6 years ago

0.0.50

6 years ago

0.0.49

6 years ago

0.0.48

6 years ago

0.0.47

6 years ago

0.0.46

6 years ago

0.0.45

6 years ago

0.0.44

6 years ago

0.0.43

6 years ago

0.0.42

7 years ago

0.0.41

7 years ago

0.0.40

7 years ago

0.0.39

7 years ago

0.0.38

7 years ago

0.0.37

7 years ago

0.0.36

7 years ago

0.0.35

7 years ago

0.0.34

7 years ago

0.0.33

7 years ago

0.0.32

7 years ago

0.0.31

7 years ago

0.0.30

7 years ago

0.0.29

7 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago