I would like to format cells differently within a column. I currently am able to set the EditorControl property of the cell to handle input, but once the editor control disappears, all the cells in the column take on whatever is stored in the column's format property. Is there a way to format cells differently on a row by row basis? I have some rows that need to show 4 decimal places and some that need to show whole numbers only.
Leaving the Format property of the column blank does the trick for me. Thanks for your help, Mike!
Hi Richard,
I think you have to leave the Format property of the column blank and then use the mask properties on the Editor Control like MaskDisplayMode to format the column the same way as the mask.
If that doesn't work, then there are some alternatives, but they are not trivial. You might be able to use a DrawFilter to draw the text yourself. Or you might be able to do this by implementing your own DefaultOwner for your editor.