Posted 6 September 2021, 6:07 am 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 6 September 2021, 6:07 am EST
Posted 6 September 2021, 6:07 am 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, 9: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