Posted 5 September 2021, 9:07 pm EST
How to implement JSON plugin in wijmo for validation like I want to use json-rules-engine in wijmo flex grid
Forums Home / ComponentOne / General Discussion
Posted by: ashok.bahir on 5 September 2021, 9:07 pm EST
Posted 5 September 2021, 9:07 pm EST
How to implement JSON plugin in wijmo for validation like I want to use json-rules-engine in wijmo flex grid
Posted 7 September 2021, 12:49 am EST
Hello,
You can perform the validation in FlexGrid using the getError method of CollectionView. The getError method gets or sets a callback that determines whether a specific property of an item contains validation errors. For more information, you may refer to the links below:
API: https://www.grapecity.com/wijmo/api/classes/wijmo.collectionview.html#geterror
Demo: https://www.grapecity.com/wijmo/demos/Grid/Editing/CollectionViewValidation/purejs#demo_source_name
Note: the getError method return values asynchronously.
Let us know if you still have any doubts or issues.
Regards