Winter Cardinal UI - v0.442.0 / DTableDataListMapped

Class: DTableDataListMapped<ROW>

Type parameters

Name
ROW

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new DTableDataListMapped<ROW>(parent): DTableDataListMapped<ROW>

Type parameters

Name
ROW

Parameters

Name Type
parent DTableDataListMappedParent<ROW>

Returns

DTableDataListMapped<ROW>

Defined in

src/main/typescript/wcardinal/ui/d-table-data-list-mapped.ts:16

Properties

_parent

Protected _parent: DTableDataListMappedParent<ROW>

Defined in

src/main/typescript/wcardinal/ui/d-table-data-list-mapped.ts:14

Accessors

rows

get rows(): ROW[]

Mapped rows.

Returns

ROW[]

Implementation of

DTableDataMapped.rows

Defined in

src/main/typescript/wcardinal/ui/d-table-data-list-mapped.ts:20

Methods

each

each(iteratee, ifrom?, ito?): void

Calls the specified iteratee on each mapped datum of the specified index range. If called iteratee explicitly returns false, stops an iteration.

Parameters

Name Type Description
iteratee DTableDataMappedEachIteratee<ROW> an function called on each mapped datum
ifrom? number an index to start an iteration
ito? number an index before which an interation stops

Returns

void

Implementation of

DTableDataMapped.each

Defined in

src/main/typescript/wcardinal/ui/d-table-data-list-mapped.ts:53


get

get(index): null | ROW

Returns a row data at the specified index. The index is an index on rows filters and sorters are applied.

Parameters

Name Type Description
index number a mapped index

Returns

null | ROW

Implementation of

DTableDataMapped.get

Defined in

src/main/typescript/wcardinal/ui/d-table-data-list-mapped.ts:48


map

map(unmappedIndex): null | number

Returns an mapped index of the specified unmapped index. A mapped index is an index on rows filters and sorters are applied.

Parameters

Name Type Description
unmappedIndex number a unmapped index

Returns

null | number

Implementation of

DTableDataMapped.map

Defined in

src/main/typescript/wcardinal/ui/d-table-data-list-mapped.ts:28


size

size(): number

Returns a size of rows.

Returns

number

Implementation of

DTableDataMapped.size

Defined in

src/main/typescript/wcardinal/ui/d-table-data-list-mapped.ts:42


unmap

unmap(index): number

Returns an unmapped index of the specified mapped index. A mapped index is an index on rows filters and sorters are applied.

Parameters

Name Type Description
index number a mapped index

Returns

number

Implementation of

DTableDataMapped.unmap

Defined in

src/main/typescript/wcardinal/ui/d-table-data-list-mapped.ts:37