Skip to main content
A newer version of this page is available. .

BootstrapCardViewCustomColumnSortEventArgs Class

Provides data for the BootstrapCardView.CustomColumnSort event.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v19.1.dll

Declaration

public class BootstrapCardViewCustomColumnSortEventArgs :
    CardViewCustomColumnSortEventArgs

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

See Also