[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.FlexGridBaseBuilder-3.ItemValidator

ItemValidator Method

ItemValidator(string)

Configurates ItemValidator. Sets a validator function to determine whether cells contain valid data.

Declaration
public virtual TBuilder ItemValidator(string value)
Parameters
Type Name Description
string value

The value.

Returns
Type Description
TBuilder

Current builder.

Remarks

If specified, the validator function should take two parameters containing the cell's row and column indices, and should return a string containing the error description. This property is especially useful when dealing with unbound grids, since bound grids can be validated using the GetError property instead.