igniteui-react-grids
Version:
Ignite UI React grid components.
53 lines (52 loc) • 1.33 kB
JavaScript
import { IgrBaseEventArgsDetail } from "./igr-base-event-args-detail";
import { RowDataEventArgsDetail as RowDataEventArgsDetail_internal } from "./RowDataEventArgsDetail";
/**
* Represents event arguments related to events, that can occur for rows in a grid
* Example for events: adding, deleting, selection, transaction, etc.
*/
export class IgrRowDataEventArgsDetail extends IgrBaseEventArgsDetail {
createImplementation() {
return new RowDataEventArgsDetail_internal();
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
constructor() {
super();
}
/**
* @deprecated Use the `rowData` property instead.
*/
get data() {
return this.i.g;
}
set data(v) {
this.i.g = v;
}
get rowData() {
return this.i.i;
}
set rowData(v) {
this.i.i = v;
}
/**
* Represents the unique key, the row can be associated with.
* Available if `primaryKey` exists
* @deprecated Use the `rowKey` property instead.
*/
get primaryKey() {
return this.i.h;
}
set primaryKey(v) {
this.i.h = v;
}
get rowKey() {
return this.i.j;
}
set rowKey(v) {
this.i.j = v;
}
}