My expression field is working fine when I''m using "[MyField] * 2" as the expression. However, if I change the expression to "[MyField] * 2.5" (or "[MyField] * 2,5") it stops working and doesn''t display anything in the grid. Am I doing something wrong with the decimal numbers?
The expressionfielddescriptor resultType is set to "System.Double"
ADAdministrator Syncfusion Team February 2, 2005 04:59 PM
I tried seeing the issue in the attached sample (version 188.8.131.52). It has an expression column as specified by you.
expression1.Expression = "[Col0] * 2.5";
Do you see the issue in this sample too? Is the ''MyField'' column strongly typed?
Adding an expression column_CS_394.zip
JPJuha PalomakiFebruary 4, 2005 06:22 AM
I have the same problem with your example. The expression column remains empty. I tried adding another column with "[Col0] * 3" as the expression and it works very well.
I also tried changing your expression "[Col0] * 25 / 10" and that one works as well. I''ve also tried using comma (,) as the decimal separator but that does not work.
In my case the datasource is a datatable and the data should be strongly typed.
ADAdministrator Syncfusion Team February 4, 2005 10:28 AM
I have updated the Incident - 16507 you have opened regarding this.