Show / Hide Table of Contents

Class JqGridColumnSortableAttribute

Specifies the sorting options for column

Inheritance
System.Object
JqGridColumnSortableAttribute
Namespace: Lib.AspNetCore.Mvc.JqGrid.DataAnnotations
Assembly: Lib.AspNetCore.Mvc.JqGrid.DataAnnotations.dll
Syntax
public sealed class JqGridColumnSortableAttribute : Attribute

Constructors

JqGridColumnSortableAttribute(Boolean)

Initializes a new instance of the JqGridColumnSortingNameAttribute class.

Declaration
public JqGridColumnSortableAttribute(bool sortable)
Parameters
Type Name Description
System.Boolean sortable

If this column can be sorted

Properties

Index

Gets or sets the index name for sorting and searching.

Declaration
public string Index { get; set; }
Property Value
Type Description
System.String

InitialSortingOrder

Gets or sets the sorting order for first column sorting.

Declaration
public JqGridSortingOrders InitialSortingOrder { get; set; }
Property Value
Type Description
JqGridSortingOrders

Sortable

Gets the value defining if this column can be sorted.

Declaration
public bool Sortable { get; }
Property Value
Type Description
System.Boolean

SortFunction

Gets or sets the custom sorting function when the SortType is set to JqGridColumnSortTypes.Function.

Declaration
public string SortFunction { get; set; }
Property Value
Type Description
System.String

SortType

Gets or sets the type of the column for appropriate sorting when datatype is local.

Declaration
public JqGridSortTypes SortType { get; set; }
Property Value
Type Description
JqGridSortTypes
Back to top Copyright © 2016 - 2019 Tomasz Pęczek