Posted 14 December 2021, 1:42 pm EST
Hello,
I’m having an issue using a C1NumericEdit as an editor for a C1FlexGrid. My goal is to use the C1NumericEdit to apply a custom format for double values entered into the C1FlexGrid.
In the example I attached I’m wanting any number greater than 100 to be displayed in scientific notation and any other number displayed as a normal decimal number. In the attached example the C1NumericEdit works correctly but the C1FlexGrid does not.
The C1FlexGrid only displays a decimal value no matter what I enter. I created the CellStyle and assign the Editor to the C1NumericEdit . I see the call to the Format method and I see it set the e.Text correctly but the displayed value in the grid is not correct.
I assume I’m missing something simple but any help would be appreciated greatly.