Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.
/ ng2-grid Public archive
forked from raketasoft/ng2-grid

Lightweight data grid component for Angular 2.

License

Notifications You must be signed in to change notification settings

abelharisov/ng2-grid

 
 

Repository files navigation

Ng2 Grid

Build Status

Lightweight data grid component for Angular 2.

Features

  • Sorting
  • Filtering
  • Paging
  • Selection
  • Templating
  • Remote Data Access

Installation

Start by installing npm dependencies:

> npm install raketasoft-ng2-grid --save
> npm install lodash --save

Load CSS:

<link rel="stylesheet" type="text/css" href="node_modules/raketasoft-ng2-grid/src/assets/ng2-grid.css">

The only way to include the component right now is to use module loader like SystemJS. Example configuration:

System.config({
    defaultJSExtensions: true,
    map: {
        'raketasoft-ng2-grid': 'node_modules/raketasoft-ng2-grid',
        'lodash': 'node_modules/lodash'
    }
});

Then import and include in your component's directives:

import { GridComponent, GridColumnComponent, GridOptions } from 'raketasoft-ng2-grid';

@Component({
    directives: [GridComponent, GridColumnComponent]
})
export class MyComponent {
    ...
}

Demo

Configuration examples could be found under the demo application: Demo

Image of Ng2 Grid Demo

License

MIT

About

Lightweight data grid component for Angular 2.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 75.0%
  • JavaScript 20.8%
  • CSS 4.2%