Back to Devexpress

BootstrapCardViewCustomColumnSortEventArgs Class

aspnetbootstrap-devexpress-dot-web-dot-bootstrap-c91aca41.md

latest3.4 KB
Original Source

BootstrapCardViewCustomColumnSortEventArgs Class

Provides data for the BootstrapCardView.CustomColumnSort event.

Namespace : DevExpress.Web.Bootstrap

Assembly : DevExpress.Web.Bootstrap.v25.2.dll

NuGet Package : DevExpress.Web.Bootstrap

Declaration

csharp
public class BootstrapCardViewCustomColumnSortEventArgs :
    CardViewCustomColumnSortEventArgs
vb
Public Class BootstrapCardViewCustomColumnSortEventArgs
    Inherits CardViewCustomColumnSortEventArgs

BootstrapCardViewCustomColumnSortEventArgs is the data class for the following events:

Remarks

If a column’s GridDataColumnSettings.SortMode property is set to ‘Custom’, the Card View’s data can be sorted by this column using custom algorithms. To implement custom sorting, handle the BootstrapCardView.CustomColumnSort event. The BootstrapCardViewCustomColumnSortEventArgs class provides data for these events.

When handling the BootstrapCardView.CustomColumnSort event, the result indicates whether one card should be positioned above or below another card. The result is specified by the GridCustomColumnSortEventArgs.Result property.

The GridCustomColumnSortEventArgs.ListSourceRowIndex1 and GridCustomColumnSortEventArgs.ListSourceRowIndex2 properties specify the card indexes in the underlying data source.

To indicate that the comparison operation was handled, and no default processing is required, set the GridCustomColumnSortEventArgs.Handled property to true. Otherwise, the default comparison mechanism will be invoked after your event handler has been called, and this will override the custom result.

Inheritance

Object EventArgs GridCustomColumnSortEventArgs CardViewCustomColumnSortEventArgs BootstrapCardViewCustomColumnSortEventArgs

See Also

BootstrapCardViewCustomColumnSortEventArgs Members

CustomColumnSort

Card View

DevExpress.Web.Bootstrap Namespace