Show / Hide Table of Contents

Class JqGridColumnSearchableAttribute

Specifies the searching options for column

Inheritance
System.Object
JqGridColumnElementAttribute
JqGridColumnSearchableAttribute
Inherited Members
JqGridColumnElementAttribute.AutocompleteAutoFocus
JqGridColumnElementAttribute.AutocompleteDelay
JqGridColumnElementAttribute.AutocompleteMinLength
JqGridColumnElementAttribute.BuildSelect
JqGridColumnElementAttribute.DataEvents
JqGridColumnElementAttribute.DataInit
JqGridColumnElementAttribute.DataAction
JqGridColumnElementAttribute.DataController
JqGridColumnElementAttribute.DataRoute
JqGridColumnElementAttribute.DatepickerAppendText
JqGridColumnElementAttribute.DatepickerAutoSize
JqGridColumnElementAttribute.DatepickerChangeMonth
JqGridColumnElementAttribute.DatepickerChangeYear
JqGridColumnElementAttribute.DatepickerConstrainInput
JqGridColumnElementAttribute.DatePickerDateFormat
JqGridColumnElementAttribute.DatepickerFirstDay
JqGridColumnElementAttribute.DatepickerGotoCurrent
JqGridColumnElementAttribute.DatepickerMaxDate
JqGridColumnElementAttribute.DatepickerMinDate
JqGridColumnElementAttribute.DatepickerNumberOfMonths
JqGridColumnElementAttribute.DatepickerSelectOtherMonths
JqGridColumnElementAttribute.DatepickerShortYearCutoff
JqGridColumnElementAttribute.DatepickerShowCurrentAtPos
JqGridColumnElementAttribute.DatepickerShowMonthAfterYear
JqGridColumnElementAttribute.DatepickerShowOtherMonths
JqGridColumnElementAttribute.DatepickerShowWeek
JqGridColumnElementAttribute.DatepickerStepMonths
JqGridColumnElementAttribute.DatepickerYearRange
JqGridColumnElementAttribute.DatepickerYearSuffix
JqGridColumnElementAttribute.DefaultValue
JqGridColumnElementAttribute.HtmlAttributes
JqGridColumnElementAttribute.SpinnerCulture
JqGridColumnElementAttribute.SpinnerDownIcon
JqGridColumnElementAttribute.SpinnerIncremental
JqGridColumnElementAttribute.SpinnerMax
JqGridColumnElementAttribute.SpinnerMin
JqGridColumnElementAttribute.SpinnerNumberFormat
JqGridColumnElementAttribute.SpinnerPage
JqGridColumnElementAttribute.SpinnerStep
JqGridColumnElementAttribute.SpinnerUpIcon
JqGridColumnElementAttribute.Value
JqGridColumnElementAttribute.CustomRule
JqGridColumnElementAttribute.CustomRuleFunction
JqGridColumnElementAttribute.DateRule
JqGridColumnElementAttribute.EmailRule
JqGridColumnElementAttribute.TimeRule
JqGridColumnElementAttribute.UrlRule
JqGridColumnElementAttribute.Rules
JqGridColumnElementAttribute.SetDataAction(String, String)
JqGridColumnElementAttribute.SetDataRoute(String)
JqGridColumnElementAttribute.SetValueDictionary(Type, String)
Namespace: Lib.AspNetCore.Mvc.JqGrid.DataAnnotations
Assembly: Lib.AspNetCore.Mvc.JqGrid.DataAnnotations.dll
Syntax
public class JqGridColumnSearchableAttribute : JqGridColumnElementAttribute

Constructors

JqGridColumnSearchableAttribute()

Initializes a new instance of the JqGridColumnSearchableAttribute class.

Declaration
public JqGridColumnSearchableAttribute()

JqGridColumnSearchableAttribute(Boolean)

Initializes a new instance of the JqGridColumnSearchableAttribute class.

Declaration
public JqGridColumnSearchableAttribute(bool searchable)
Parameters
Type Name Description
System.Boolean searchable

If this column can be searched

JqGridColumnSearchableAttribute(String)

Initializes a new instance of the JqGridColumnSearchableAttribute class.

Declaration
public JqGridColumnSearchableAttribute(string route)
Parameters
Type Name Description
System.String route

The name of the route to be used to generate URL to get the AJAX data for the select element (if type is JqGridColumnSearchTypes.Select) or jQuery UI Autocomplete widget (if type is JqGridColumnSearchTypes.Autocomplete).

JqGridColumnSearchableAttribute(String, String)

Initializes a new instance of the JqGridColumnSearchableAttribute class.

Declaration
public JqGridColumnSearchableAttribute(string action, string controller)
Parameters
Type Name Description
System.String action

The name of the action method to get the AJAX data for the select element (if type is JqGridColumnSearchTypes.Select) or jQuery UI Autocomplete widget (if type is JqGridColumnSearchTypes.Autocomplete).

System.String controller

The name of the controller to get the AJAX data for the select element (if type is JqGridColumnSearchTypes.Select) or jQuery UI Autocomplete widget (if type is JqGridColumnSearchTypes.Autocomplete).

JqGridColumnSearchableAttribute(Type, String)

Initializes a new instance of the JqGridColumnSearchableAttribute class.

Declaration
public JqGridColumnSearchableAttribute(Type valueProviderType, string valueProviderMethodName)
Parameters
Type Name Description
Type valueProviderType

The type of class which contains a method which will provide data for select element (if type is JqGridColumnSearchTypes.Select). This class must have public parameterless constructor.

System.String valueProviderMethodName

The name of method which will provide data for select element (if type is JqGridColumnSearchTypes.Select). This method must return an object which implements IDictionary<string, string>.

Properties

ClearSearch

Gets or sets the value which defines if Clear ("X") button is available at the end of search field in jqGrid filter toolbar.

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

ElementOptions

Gets the options for jqGrid editable or searchable column element.

Declaration
protected override JqGridColumnElementOptions ElementOptions { get; }
Property Value
Type Description
JqGridColumnElementOptions
Overrides
JqGridColumnElementAttribute.ElementOptions

Searchable

Gets the value defining if this column can be searched.

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

SearchHidden

Gets or sets the value which defines if hidden column can be searched.

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

SearchOperators

Gets or sets the available search operators for the column.

Declaration
public JqGridSearchOperators SearchOperators { get; set; }
Property Value
Type Description
JqGridSearchOperators

SearchOptions

Gets options for jqGrid searchable column.

Declaration
public JqGridColumnSearchOptions SearchOptions { get; }
Property Value
Type Description
JqGridColumnSearchOptions

SearchRequired

Gets or sets if the value is required while searching.

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

SearchType

Gets or sets the type of the search field (default JqGridColumnSearchTypes.Text).

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