Posted 15 August 2022, 9:46 pm EST
Can I set Error flexgrid when I have a list of messages from the response API ?
I bought wijmo license. Pls, support me. Thank you.
Forums Home / Wijmo / General Discussion
Posted by: viethdhe130200 on 15 August 2022, 9:46 pm EST
Posted 15 August 2022, 9:46 pm EST
Can I set Error flexgrid when I have a list of messages from the response API ?
I bought wijmo license. Pls, support me. Thank you.
Posted 17 August 2022, 6:21 pm EST
Hello,
You can use the CollectionView.getError method to provide the validation messages on the FlexGrid. You can use the messages from the API response to show the different error types for the different columns as per your requirement. Please refer to the wijmo demo link below for reference:
https://www.grapecity.com/wijmo/demos/Core/CollectionView/EditingViews/Validation/purejs
Regards