Defines the fluent API for configuring the SpreadsheetSheetRowCellValidationSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SpreadsheetSheetRowCellValidationSettingsBuilder
Inheritance: objectSpreadsheetSheetRowCellValidationSettingsBuilder
Inherited Members
Constructors
public SpreadsheetSheetRowCellValidationSettingsBuilder(SpreadsheetSheetRowCellValidationSettings settings)
Methods
Specifies whether to allow null values.
public SpreadsheetSheetRowCellValidationSettingsBuilder AllowNulls(bool value)
The value that configures the allownulls.
Returns:Defines the comparer type that is used to validate the cell value.The supported values are: greaterThan; lessThan; between; equalTo; notEqualTo; greaterThanOrEqualTo; lessThanOrEqualTo; notBetween or custom.
public SpreadsheetSheetRowCellValidationSettingsBuilder ComparerType(string value)
The value that configures the comparertype.
Returns:Defines the data type of the cell value.The supported values are: date; text; number; list or custom.
public SpreadsheetSheetRowCellValidationSettingsBuilder DataType(string value)
The value that configures the datatype.
Returns:Defines a formula or a value that is used for the comparison process. Used as the only compare value if the comparer type does not require a second argument. Mandatory for validation to work.
public SpreadsheetSheetRowCellValidationSettingsBuilder From(string value)
The value that configures the from.
Returns:Defines the hint message that will be displayed if the value is invalid.The template provides access to the following variables: from{0}; to{1}; fromFormula{2}; toFormula{3}; dataType{4}; type{5} or comparerType{6}.
public SpreadsheetSheetRowCellValidationSettingsBuilder MessageTemplate(string value)
The value that configures the messagetemplate.
Returns:Defines the hint message that will be displayed if the value is invalid.The template provides access to the following variables: from{0}; to{1}; fromFormula{2}; toFormula{3}; dataType{4}; type{5} or comparerType{6}.
public SpreadsheetSheetRowCellValidationSettingsBuilder MessageTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the messagetemplate.
Returns:Defines the hint message that will be displayed if the value is invalid.The template provides access to the following variables: from{0}; to{1}; fromFormula{2}; toFormula{3}; dataType{4}; type{5} or comparerType{6}.
public SpreadsheetSheetRowCellValidationSettingsBuilder MessageTemplateHandler(string value)
The value that configures the messagetemplate.
Returns:Defines the hint message that will be displayed if the value is invalid.The template provides access to the following variables: from{0}; to{1}; fromFormula{2}; toFormula{3}; dataType{4}; type{5} or comparerType{6}.
public SpreadsheetSheetRowCellValidationSettingsBuilder MessageTemplateId(string value)
The value that configures the messagetemplate.
Returns:Defines the hint message that will be displayed if the value is invalid.The template provides access to the following variables: from{0}; to{1}; fromFormula{2}; toFormula{3}; dataType{4}; type{5} or comparerType{6}.
public SpreadsheetSheetRowCellValidationSettingsBuilder MessageTemplateView(MvcHtmlString value)
The value that configures the messagetemplate.
Returns:A Boolean value which indicates if a button for selecting list items will be displayed (dataType set to list).
public SpreadsheetSheetRowCellValidationSettingsBuilder ShowButton(bool value)
The value that configures the showbutton.
Returns:Defines the hint title that will be displayed if the value is invalid.
public SpreadsheetSheetRowCellValidationSettingsBuilder TitleTemplate(string value)
The value that configures the titletemplate.
Returns:Defines the hint title that will be displayed if the value is invalid.
public SpreadsheetSheetRowCellValidationSettingsBuilder TitleTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the titletemplate.
Returns:Defines the hint title that will be displayed if the value is invalid.
public SpreadsheetSheetRowCellValidationSettingsBuilder TitleTemplateHandler(string value)
The value that configures the titletemplate.
Returns:Defines the hint title that will be displayed if the value is invalid.
public SpreadsheetSheetRowCellValidationSettingsBuilder TitleTemplateId(string value)
The value that configures the titletemplate.
Returns:Defines the hint title that will be displayed if the value is invalid.
public SpreadsheetSheetRowCellValidationSettingsBuilder TitleTemplateView(MvcHtmlString value)
The value that configures the titletemplate.
Returns:Defines a formula or a value that is used for the comparison process. Will be used if the comparer type requires a second argument.
public SpreadsheetSheetRowCellValidationSettingsBuilder To(string value)
The value that configures the to.
Returns:Defines the validation type.The supported options are: reject or warning (default).
public SpreadsheetSheetRowCellValidationSettingsBuilder Type(string value)
The value that configures the type.
Returns: