How to handle errors in a calculated field(math column) in a datatable?
How to handle the exception if it can not calculate the result, for example:
math: “[$ r,: 2] * (1 - [$ r,: 3] / 100)”}
2 column is not a numeric value
Currently there is no any special event for such case. DataTable catches such errors and just sets empty value for such cells.
Well, if empty, but I’m getting:
“NaN.undefined”
That doesn’t look nice
I will check how it can be fixed.
Hi, Is there a way that this can be handled.so that the empty value do not show Nan or undefined
Fix will be available as part of Webix 2.1
If you have an active license, you can grab Webix 2.0.6 in the client’s area. It already contains the fix for above issue.