Custom cell renderer and unit extension

Hi,

we have a GGC which displays measurement data in a special column. We have implemented a custom cell renderer for this column.

Now when a user modifies a value in a row of this column we want to show the unit of the value. For example:

The user enters "12.0" -> Now the cell should show "12.0 [inch]". This means the unit (in this example [inch] should be automatically added). Furthermore if the user clicks in a cell to modify the value - the cell should become empty and after the user is finished the value with the appropriate unit extension is shown.

It would be great if you could help us with a small code example or some hint.

Thank you very much

Carl

1 Reply

AD Administrator Syncfusion Team January 25, 2007 05:48 PM UTC

Hi Carl,

Please try the attached sample and let me know if you are trying something different.
GGC_DrawCellEvent.zip

Best Regards,
Haneef

Loader.
Up arrow icon