Winter Cardinal UI - v0.442.0 / DTableDataMapped

Interface: DTableDataMapped<ROW>

Type parameters

Name
ROW

Implemented by

Table of contents

Properties

Methods

Properties

rows

Readonly rows: ROW[]

Mapped rows.

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:24

Methods

each

each(iteratee, istart?, iend?): 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
istart? number an index to start an iteration
iend? number an index before which an interation stops

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:63


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

Defined in

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


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

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:32


size

size(): number

Returns a size of rows.

Returns

number

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:45


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

Defined in

src/main/typescript/wcardinal/ui/d-table-data.ts:40