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. Image for the cookie policy date
close icon

To Add Percentage Text Box to Grouping Grid

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

1 Reply

AD Administrator Syncfusion Team 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\3.3.0.0\Windows\Grid.Windows\Samples\Grouping\CustomCellTypes sample.

Loader.
Live Chat Icon For mobile
Up arrow icon