Class: BindStrategy

BindStrategy

Members

staticBindStrategy.DEFAULT_STRATEGY

Loose bind mode.

Methods

clearMap()

Clear array map.

createMap(length)

Reset current map array and create a new one.

Parameters:
Name Type Description
length Number optional

Custom generated map length.

createRow(params)

Alias for createRow of strategy class.

Parameters:
Name Type Description
params * repeatable

destroy()

Destroy class.

removeRow(params)

Alias for removeRow of strategy class.

Parameters:
Name Type Description
params * repeatable

setStrategy(name)

Set strategy behaviors for binding rows with headers.

Parameters:
Name Type Description
name

translate(params)

Alias for getValueByIndex of strategy class.

Parameters:
Name Type Description
params * repeatable