projects/wms-framework/src/lib/models/controls/IProvideDataItems.ts
Definition of CollectionBase object
Properties |
Methods |
add | ||||||
add(item: any)
|
||||||
Parameters :
Returns :
any
|
AddItem | ||||||
AddItem(addedObject: T)
|
||||||
Parameters :
Returns :
void
|
Clear |
Clear()
|
Returns :
any
|
CreateItem |
CreateItem()
|
Returns :
T
|
CreateItem | ||||||
CreateItem(dataItem: any)
|
||||||
Parameters :
Returns :
T
|
GetDataItem | ||||||
GetDataItem(index: number)
|
||||||
Parameters :
Returns :
T
|
InsertItem | |||||||||
InsertItem(index: number, insertedObject: T)
|
|||||||||
Parameters :
Returns :
void
|
RemoveItem | ||||||
RemoveItem(removedObject: T)
|
||||||
Parameters :
Returns :
boolean
|
RemoveRange | ||||||
RemoveRange(itemsToRemove: IList<T>)
|
||||||
Parameters :
Returns :
void
|
toArray |
toArray()
|
Returns :
T[]
|
DataCount |
DataCount:
|
Type : number
|
import { IList } from '../../baseframework/collections';
/**
* Definition of CollectionBase object
*
* @export
* @interface ICollectionBase
* @wInterface Infragistics.IProvideDataItems`1
*/
export interface IProvideDataItems<T> {
add(item: any);
Clear();
DataCount: number;
GetDataItem(index: number): T;
CreateItem(): T;
CreateItem(dataItem: any): T;
AddItem(addedObject: T): void;
RemoveItem(removedObject: T): boolean;
RemoveRange(itemsToRemove: IList<T>): void;
InsertItem(index: number, insertedObject: T): void;
toArray(): T[];
}