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.

To Add Percentage Text Box to Grouping Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

37694 Nov 29,2005 03:53 AM Nov 29,2005 04:56 AM Windows Forms 1
loading
Tags: Grouping
Vinay
Asked On November 29, 2005 03:53 AM

Hi All, How can we merge a percentage text box inside a grouping grid. Thanks Vinay

Administrator [Syncfusion]
Replied On November 29, 2005 04:56 AM

If you just need to handle percents in teh cell,you can catch an event to manage this and just set the percent format. Here is a forum thread with a sample for a GridControl, but you can use TableControlCurrentCellvalidating and do something similar there. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16888 If you really want a PertCelltextBox celltype, then you would have to derive a cellmodel and cellrenderer class. If you own our source code, you could copy the code form our \Windows\Grid.Windows\Src\Extensions\CellTypes\GridCurrencyTextBoxCell.cs file and edit it (changing names as well) to use the percent textbox instead of the currencytextbox. To see how to use custom celltypes in a gridgroupingcontrol, take a look at the \Essential Studio\3.3.0.0\Windows\Grid.Windows\Samples\Grouping\CustomCellTypes sample.

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.

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.

;