Kendo.Mvc.UI.Fluent.SortableEventBuilder

Defines the fluent API for configuring the Kendo UI Sortable for ASP.NET MVC events.

Methods

Start(System.String)

Fires when sortable item drag starts.

For additional information check the start event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the start event.

Start(System.Func<System.Object,System.Object>)

Fires when sortable item drag starts.

For additional information check the start event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Move(System.String)

Fires when Sortable's placeholder changes its position.

For additional information check the move event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the move event.

Move(System.Func<System.Object,System.Object>)

Fires when Sortable's placeholder changes its position.

For additional information check the move event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

End(System.String)

Fires when item dragging ends but before the item's position is changed in the DOM. This event is suitable for preventing the sort action.

For additional information check the end event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the end event.

End(System.Func<System.Object,System.Object>)

Fires when item dragging ends but before the item's position is changed in the DOM. This event is suitable for preventing the sort action.

For additional information check the end event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Change(System.String)

Fires when item is sorted and the item's position is changed in the DOM.

For additional information check the change event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the change event.

Change(System.Func<System.Object,System.Object>)

Fires when item is sorted and the item's position is changed in the DOM.

For additional information check the change event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Cancel(System.String)

Fires when item sorting is canceled by pressing the Escape key.

For additional information check the cancel event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the cancel event.

Cancel(System.Func<System.Object,System.Object>)

Fires when item sorting is canceled by pressing the Escape key.

For additional information check the cancel event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.