1.0.3 • Published 6 years ago

tcm-grid1 v1.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

TCM Core Library

Installation

To install this library, run:

$ npm install tcm-grid1 --save

Consuming your library

vipuldhaigude@gmail npm user - tcmreg password - tcm2619

Once you have published your library to npm, you can import your library in any Angular application by running:

$ npm install tcm-grid --save

and then from your Angular AppModule module :

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import your library
import { JQGridModule } from 'tcm-grid1';


@NgModule({
    declarations: [
    ],
    imports: [
        JQGridModule    ],
    providers: [
        
    ],
    bootstrap: [AppComponent]
})
export class AppModule { }
}

Once your library is imported, you can use its components, directives and pipes in your Angular application:

<!-- You can now use your library component in app.component.html -->
<h1>
  {{title}}
</h1>
<jqGrid #grdRef="jqGrid" [dtOptions]="aggOrderOptions"
        [id]="table_id"
        [filterOptions]="filterOptions"
        [getData]="GetAggOrderData"
        [getSubData]="GetOrderData"
        [gridPersistence]="aggOrderPersistence"
        [getReferenceData]="GetReferenceData"
        (saveData)="Save($event)"
        (exportData)="ExportAggOrder($event)"
        [subGridOptions]="aggOrdersubOptions"
        (updatePersistence)="UpdatePersistence($event)">
</jqGrid>

License

MIT � vipul

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago