ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.Web.Mvc.TagHelpers Namespace / FlexGridTagHelper Class / ItemValidator Property

In This Topic
    ItemValidator Property (FlexGridTagHelper)
    In This Topic
    Configurates C1.Web.Mvc.FlexGridBase<T>.ItemValidator. Sets a validator function to determine whether cells contain valid data.
    Syntax
    'Declaration
     
    Public Overridable Property ItemValidator As String
    public virtual string ItemValidator {get; set;}
    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 C1.Web.Mvc.BaseCollectionViewService<T>.GetError property instead.
    See Also