Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ag-grid-extension/angular

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ag-grid-extension/angular - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

21

lib/directives/create-row/create-row.directive.d.ts
import { EventEmitter, OnInit } from '@angular/core';
import { AgGridAngular } from 'ag-grid-angular';
import { AgGridEvent, CellValueChangedEvent, Column, ColumnApi, GridApi, RowNode, RowValueChangedEvent } from 'ag-grid-community';
import { AgGridEvent, CellValueChangedEvent, Column, RowNode, RowValueChangedEvent } from 'ag-grid-community';
import * as i0 from "@angular/core";

@@ -10,8 +10,10 @@ /** Adds a bottom `CREATE_ROW` for agGrid */

dirtyColumns: (Column | string)[];
context: CreateRowContext;
idField: string;
createRowReady: EventEmitter<CreationRowReadyEvent>;
/** Event trigged when row was added to grid through Creation Row */
rowAddedToGrid: EventEmitter<RowNode>;
/** Event trigged when created row was saved though `context.createFn` */
rowCreated: EventEmitter<RowNode>;
/** Create Row is initialized */
createRowReady: EventEmitter<CreationRowEvent>;
/** Create Row added a row to the grid */
rowAddedToGrid: EventEmitter<CreationRowEvent>;
/** Create Row added to the grid was saved though `context.createFn` */
rowCreated: EventEmitter<CreationRowEvent>;
constructor(agGrid: AgGridAngular);

@@ -23,2 +25,3 @@ ngOnInit(): void;

rowValueChanged(event: RowValueChangedEvent): Promise<void>;
buildCreationRowEvent(type: string, node?: RowNode): CreationRowEvent;
static ɵfac: i0.ɵɵFactoryDeclaration<CreateRowDirective, never>;

@@ -32,7 +35,5 @@ static ɵdir: i0.ɵɵDirectiveDeclaration<CreateRowDirective, "ag-grid-angular[createRow]", never, { "idField": "idField"; }, { "createRowReady": "createRowReady"; "rowAddedToGrid": "rowAddedToGrid"; "rowCreated": "rowCreated"; }, never>;

}
export interface CreationRowReadyEvent {
api: GridApi;
columnApi: ColumnApi;
export interface CreationRowEvent extends AgGridEvent {
context: any & CreateRowContext;
node: RowNode;
node?: RowNode;
}
{
"name": "@ag-grid-extension/angular",
"version": "0.0.7",
"version": "0.0.8",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^13.1.0",

# AgGridExtension
## CreateRow
## Directives
### CreateRow
Adds an empty create row at the bottom of the grid, for adding new rows.

@@ -21,6 +23,6 @@

```ts
// Optional methods
onCreateRowReady(event: CreationRowReadyEvent){}
onRowAddedToGrid(node: RowNode){}
onRowCreated(node: RowNode){}
// Optional outputs
onCreateRowReady(event: CreationRowEvent){}
onRowAddedToGrid(event: CreationRowEvent){}
onRowCreated(event: CreationRowEvent){}
```

@@ -33,7 +35,7 @@

idField="id"
[createRowReady]="onCreateRowReady($event)"
[rowAddedToGrid]="onRowAddedToGrid($event)"
[rowCreated]="onRowCreated($event)"
(createRowReady)="onCreateRowReady($event)"
(rowAddedToGrid)="onRowAddedToGrid($event)"
(rowCreated)="onRowCreated($event)"
...
></ag-grid-angular>
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc