0.0.5 • Published 8 years ago

nsg-grid v0.0.5

Weekly downloads
3
License
UNLICENSED
Repository
github
Last release
8 years ago

nsg-grid

A Simple Angular 2 Grid

nsg-grid is a grid component for Angular 2 RC1

##Demo

##Installation

npm install --save nsg-grid

Example

import {Component} from '@angular/core';
import {NsgGrid} from 'nsg-grid/nsg-grid';

@Component({
    selector: 'app',
    directives:[NsgGrid]
    template:`
            <h1>Hello Angular 2 Grid</h1>
            <nsg-grid></nsg-grid>
           `
});
export class AppComponent{
    gridData: any[];
    gridColumns:GridCoulums = {
        name:"Column1",
        caption: "Column one",
        sortable:true,
    }
    
    gridOptions:GridOptions={
        pageable:true,
        pageSize: 10
    }
}

Author

Nilesh Gokhale

License

UNLICENSED. You can use this grid control at your own risk. Feel free to modify the code as you like based on your requriements.