New to Kendo UI for Angular? Start a free 30-day trial

TileLayoutReorderEvent

Arguments for the reorder event. The event fires when the order or starting positions of the items is changed via the UI. If you prevent the event, the change is canceled (see example).

item

TileLayoutItemComponent

The TileLayoutItem being reordered.

items

TileLayoutItemComponent[]

The TileLayoutItem collection that holds the currently rendered items and their internal state.

newCol?

number

The new start column of the reordered item.

newIndex

number

The new order index of the reordered item used to determine its positioning relative to the other items.

newRow?

number

The new start row of the reordered item.

oldCol?

number

The initial start column of the reordered item.

oldIndex

number

The initial order index of the reordered item used to determine its positioning relative to the other items.

oldRow?

number

The initial start row of the reordered item.

Methods

isDefaultPrevented

If the event is prevented by any of its subscribers, returns true.

Returns

boolean

true if the default action was prevented. Otherwise, returns false.

preventDefault

Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.