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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

To Add Percentage Text Box to Grouping Grid

Thread ID:





37694 Nov 29,2005 08:53 AM UTC Nov 29,2005 09:56 AM UTC WinForms 1
Tags: Grouping
Asked On November 29, 2005 08:53 AM UTC

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

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

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\\Windows\Grid.Windows\Samples\Grouping\CustomCellTypes sample.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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