projects/wms-framework/src/lib/models/controls/AddNewRow.ts
A class representing AddNewRow.
Properties |
|
Methods |
Accessors |
constructor(manager: RowsManager)
|
||||||
|
Creates a new instance of AddNewRow.
Parameters :
|
| RowType |
Type : RowType
|
Default value : RowType.AddNewRow
|
|
Type of the row. |
| Private _cellStyle |
Type : RuntimeStyleInfo
|
Default value : null
|
|
Inherited from
XamGridRow
|
|
Defined in
XamGridRow:57
|
|
Property to set the cell style value |
| Private _isSelected |
Default value : false
|
|
Inherited from
XamGridRow
|
|
Defined in
XamGridRow:35
|
|
private property to hold the selection |
| ParentRow |
Type : XamGridRow
|
Default value : null
|
|
Inherited from
XamGridRow
|
|
Defined in
XamGridRow:131
|
|
Reference to parent row |
| Protected _cells |
Type : CellBaseCollectionModel
|
|
Inherited from
RowBase
|
|
Defined in
RowBase:35
|
|
Internal cells collection |
| DefaultDataObject |
Type : any
|
Default value : null
|
|
Inherited from
RowBase
|
|
Defined in
RowBase:127
|
|
Gets / sets the object that will be used to compare against an object in the AddNewRow to detect if the AddNewRow is dirty. |
| Index |
Default value : -1
|
|
Inherited from
RowBase
|
|
Defined in
RowBase:97
|
|
Row index |
| IsActive |
Type : boolean
|
Default value : false
|
|
Inherited from
RowBase
|
|
Defined in
RowBase:43
|
|
Determinate if the Row is Active |
| onDemandData |
Type : any
|
|
Inherited from
RowBase
|
|
Defined in
RowBase:51
|
|
On demand function for row data resolving |
| RowsManager |
Type : RowsManager
|
|
Inherited from
RowBase
|
|
Defined in
RowBase:71
|
|
Reference to the RowsManager |
| SetSelected | ||||||
SetSelected(value: boolean)
|
||||||
|
Inherited from
XamGridRow
|
||||||
|
Defined in
XamGridRow:111
|
||||||
|
sets the isSelected property silently
Parameters :
Returns :
void
|
| SetData | ||||||
setSetData(data: any)
|
||||||
|
Sets the data of the current row.
Parameters :
Returns :
void
|
| IsRowDirty |
getIsRowDirty()
|
|
Gets if the current row is dirty.
Returns :
boolean
|
import { RowsManager } from './RowsManager';
import { RowType } from './RowType';
import { XamGridRow } from './XamGridRow';
/**
* A class representing AddNewRow.
*
* @export
* @class AddNewRow
* @extends {XamGridRow}
* @wType Infragistics.Controls.Grids.Primitives.AddNewRow
*/
export class AddNewRow extends XamGridRow {
/**
* Creates a new instance of AddNewRow.
*
* @param {RowsManager} manager
* @memberof {AddNewRow}
*/
constructor(manager: RowsManager) {
super(-1, manager, null);
}
/**
* Type of the row.
*
* @type {RowType}
* @memberof {AddNewRow}
*/
RowType: RowType = RowType.AddNewRow;
/**
* Sets the data of the current row.
*
* @type {RowType}
* @memberof {AddNewRow}
* @wIgnore
*/
set SetData(data: any) {
this.Data = data;
}
/**
* Gets if the current row is dirty.
*
* @readonly
* @type {boolean}
* @memberof {AddNewRow}
* @wNoMap
*/
get IsRowDirty(): boolean {
return false;
}
}