We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom cell renderer and unit extension

Thread ID:

Created:

Updated:

Platform:

Replies:

55228 Jan 25,2007 10:51 AM UTC Jan 25,2007 05:48 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 25, 2007 10:51 AM UTC

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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;