Class JqGridColumnRules
Class which represents rules for jqGrid editable or searchable column
Inheritance
Namespace: Lib.AspNetCore.Mvc.JqGrid.Infrastructure.Options.ColumnModel
Assembly: Lib.AspNetCore.Mvc.JqGrid.Infrastructure.dll
Syntax
public class JqGridColumnRules : object
Constructors
JqGridColumnRules()
Initializes a new instance of the JqGridColumnRules class.
Declaration
public JqGridColumnRules()
Properties
Custom
Gets or sets if the value should be validated with custom function.
Declaration
public bool Custom { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CustomFunction
Gets or sets the name of custom validation function
Declaration
public string CustomFunction { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Date
Gets or sets if the value should be valid date based on DateFormat property (if not set than ISO date is used).
Declaration
public bool Date { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EditHidden
Gets or sets the value which defines if hidden column can be edited in form editing.
Declaration
public bool EditHidden { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Gets or sets if the value should be valid email
Declaration
public bool Email { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Integer
Gets or sets if the value should be valid integer.
Declaration
public bool Integer { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MaxValue
Gets or set the maximum value.
Declaration
public double? MaxValue { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
MinValue
Gets or sets the minimum value.
Declaration
public double? MinValue { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Number
Gets or sets if the value should be valid number
Declaration
public bool Number { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Required
Gets or sets if the value is required.
Declaration
public bool Required { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Time
Gets or sets if the value should be valid time (hh:mm format and optional am/pm at the end).
Declaration
public bool Time { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Url
Gets or sets if the value should be valid url.
Declaration
public bool Url { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |