Skip to main content

DataGridRowDraggingBuilder Methods

Provides methods that allow you to configure nested options of the client-side rowDragging object.
Name Description
AllowDropInsideItem(JS) Allows users to drop a row inside another row. Mirrors the client-side allowDropInsideItem option.
AllowDropInsideItem(Boolean) Allows users to drop a row inside another row. Mirrors the client-side allowDropInsideItem option.
AllowReordering(JS) Allows row reordering using drag and drop gestures. Mirrors the client-side allowReordering option.
AllowReordering(Boolean) Allows row reordering using drag and drop gestures. Mirrors the client-side allowReordering option.
AutoScroll(JS) Enables automatic scrolling while dragging a row beyond the viewport. Mirrors the client-side autoScroll option.
AutoScroll(Boolean) Enables automatic scrolling while dragging a row beyond the viewport. Mirrors the client-side autoScroll option.
Boundary(JS) Specifies a DOM element that limits the dragging area. Mirrors the client-side boundary option.
Boundary(String) Specifies a DOM element that limits the dragging area. Mirrors the client-side boundary option.
Container(JS) Specifies a custom container in which the draggable row should be rendered. Mirrors the client-side container option.
Container(String) Specifies a custom container in which the draggable row should be rendered. Mirrors the client-side container option.
CursorOffset(JS) Specifies the cursor offset from the dragged row. Mirrors the client-side cursorOffset option.
CursorOffset(Action<DataGridRowDraggingCursorOffsetBuilder>) Specifies the cursor offset from the dragged row. Mirrors the client-side cursorOffset object.
CursorOffset(String) Specifies the cursor offset from the dragged row. Mirrors the client-side cursorOffset option.
Data(Object) A container for custom data. Mirrors the client-side data option.
DragDirection(DragDirection) Specifies the directions in which a row can be dragged. Mirrors the client-side dragDirection option.
DragTemplate(JS) Specifies the client-side dragTemplate.
DragTemplate(RazorBlock) Specifies the client-side dragTemplate.
DragTemplate(TemplateName) Specifies the client-side dragTemplate.
DragTemplate(String) Specifies the client-side dragTemplate.
DropFeedbackMode(DropFeedbackMode) Specifies how to highlight the row's drop position. Mirrors the client-side dropFeedbackMode option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Filter(JS) Obsolete. Specifies a CSS selector for draggable rows. Mirrors the client-side filter option.
Filter(String) Obsolete. Specifies a CSS selector for draggable rows. Mirrors the client-side filter option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Group(JS) Allows you to group several UI components so that users can drag and drop rows between them. Mirrors the client-side group option.
Group(String) Allows you to group several UI components so that users can drag and drop rows between them. Mirrors the client-side group option.
Handle(JS) Specifies a CSS selector (ID or class) for the element(s) that should act as the drag handle(s). Mirrors the client-side handle option.
Handle(String) Specifies a CSS selector (ID or class) for the element(s) that should act as the drag handle(s). Mirrors the client-side handle option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnAdd(RazorBlock) A function that is called when a new row is added. Mirrors the client-side onAdd option.
OnAdd(String) A function that is called when a new row is added. Mirrors the client-side onAdd option.
OnDragChange(RazorBlock) A function that is called when the dragged row's position is changed. Mirrors the client-side onDragChange option.
OnDragChange(String) A function that is called when the dragged row's position is changed. Mirrors the client-side onDragChange option.
OnDragEnd(RazorBlock) A function that is called when the drag gesture is finished. Mirrors the client-side onDragEnd option.
OnDragEnd(String) A function that is called when the drag gesture is finished. Mirrors the client-side onDragEnd option.
OnDragMove(RazorBlock) A function that is called every time a draggable row is moved. Mirrors the client-side onDragMove option.
OnDragMove(String) A function that is called every time a draggable row is moved. Mirrors the client-side onDragMove option.
OnDragStart(RazorBlock) A function that is called when a drag gesture is initialized. Mirrors the client-side onDragStart option.
OnDragStart(String) A function that is called when a drag gesture is initialized. Mirrors the client-side onDragStart option.
OnRemove(RazorBlock) A function that is called when a draggable row is removed. Mirrors the client-side onRemove option.
OnRemove(String) A function that is called when a draggable row is removed. Mirrors the client-side onRemove option.
OnReorder(RazorBlock) A function that is called when the draggable rows are reordered. Mirrors the client-side onReorder option.
OnReorder(String) A function that is called when the draggable rows are reordered. Mirrors the client-side onReorder option.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ScrollSensitivity(JS) Specifies the distance in pixels from the edge of viewport at which scrolling should start. Applies only if autoScroll is true. Mirrors the client-side scrollSensitivity option.
ScrollSensitivity(Double) Specifies the distance in pixels from the edge of viewport at which scrolling should start. Applies only if autoScroll is true. Mirrors the client-side scrollSensitivity option.
ScrollSpeed(JS) Specifies the scrolling speed when dragging a row beyond the viewport. Applies only if autoScroll is true. Mirrors the client-side scrollSpeed option.
ScrollSpeed(Double) Specifies the scrolling speed when dragging a row beyond the viewport. Applies only if autoScroll is true. Mirrors the client-side scrollSpeed option.
ShowDragIcons(JS) Shows or hides row dragging icons. Mirrors the client-side showDragIcons option.
ShowDragIcons(Boolean) Shows or hides row dragging icons. Mirrors the client-side showDragIcons option.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also