I've created a datatable using the following query:
select str(-abs(100),10,2) as crash
(a negative number cast to string)
When I use this datatable in a grid and export it to excel, I'll get the folowwing error:
We found a problem with this formula. Try clicking Insert Function on the Formulas tab to fix it.\n\nNot trying to type a formula? When the first character is an equal (=) or minus (-) sign, RadSpreadsheet thinks it is a formula. For example, when you type =1+1 the cell shows 2.
I've implemented the workarround in https://www.telerik.com/forums/output-to-excel-error
(The cell has the Format attribute set to "@")
This works for regular strings starting with a dash, but not working for the specific situation described before.
select str(-abs(100),10,2) as crash
(a negative number cast to string)
When I use this datatable in a grid and export it to excel, I'll get the folowwing error:
We found a problem with this formula. Try clicking Insert Function on the Formulas tab to fix it.\n\nNot trying to type a formula? When the first character is an equal (=) or minus (-) sign, RadSpreadsheet thinks it is a formula. For example, when you type =1+1 the cell shows 2.
I've implemented the workarround in https://www.telerik.com/forums/output-to-excel-error
(The cell has the Format attribute set to "@")
This works for regular strings starting with a dash, but not working for the specific situation described before.