Hello,
Is it possible to apply a format (like "###,###,####.00) to a certain cell in a grid instead of appling the same format to an entire column?
I have many rows in a grid where I would like to apply a certain format to a cell (in the InitializeRow event) depending on certain attributes in the row. So some cells in the same column should have different formats in different rows.
Thank you for your help!
The Format property only exists on the column, not the cell. So you can't do this with a property setting.
One way you could to this would be to use an unbound column. You could hide the real, bound column in the grid and add an unbound column. You would then use the InitializeRow event to examine the value in the bound column and populate the unbound column with whatever text you want in whatever format you want.
Hi Mike,
There is another way to do this?, any configuration? cells editors or any event?
Thanks
Here's a sample of another way you do this with editors.
Thanks so much for your help.