Class TreeGridValidationRuleBuilder
Inheritance
System.Object
TreeGridValidationRuleBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeGridValidationRuleBuilder
Constructors
TreeGridValidationRuleBuilder(TreeGridColumn)
Initializes a new instance of the
Declaration
public TreeGridValidationRuleBuilder(TreeGridColumn column)
Parameters
Type | Name | Description |
---|---|---|
TreeGridColumn | column | It displays the list of columns |
Methods
AddRule(String, Object)
Add the rules or constraints before saving the data to the database.
Declaration
public TreeGridValidationRuleBuilder AddRule(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | It accepts the string as key |
System.Object | value | It passes the object value to define the constraints for saving the data |
Returns
Type | Description |
---|---|
TreeGridValidationRuleBuilder | TreeGridValidationRuleBuilder |