moveColumn

open fun moveColumn(table: T, distance: Double, block: (progress: Float) -> Unit): Completable(source)

Called whenever a column needs to automatically move to a location. This happens (for example) if a column is being reordered. The given block controls the progress and timing of this move, allowing for custom animation.

Calling block with progress from 0 to 1 results in moving the column along the path from start to end.

Return

a completable operation the Table will monitor

Parameters

table

in question

distance

over which the column will move

block

controlling move animation