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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Derived Masked edit problems

Thread ID:





25325 Feb 24,2005 01:20 PM UTC Feb 24,2005 03:12 PM UTC WinForms 1
Tags: GridControl
Paul McCabe
Asked On February 24, 2005 01:20 PM UTC

HI I have an issue with Masked Edit Cells and the grouping grid. I am initialising a grouping grid using a collection of GridColumnDescriptors. I have also derived a MaskedEditCell My problems are that the only way I seem to be able to set the mask and the cellvalue up is when i am initialising the gridColumnDescriptor. Can anyone tell me how I can simply inform my grid that I what the cell to be of my derived type and then set the style info, mask and the like, in my cell renderer class, on creation for example. Cheers P

Administrator [Syncfusion]
Replied On February 24, 2005 03:12 PM UTC

To set CellType values on a cell by cell basis in a GridGroupingControl, you need to use the QueryCellStyleInfo event. There you set e.Style.CellType based on the e.TableCellIndentity value passed in. So, if e.tableCellIndentity points to your special cell, then set e.Style.CellType to the CellType you have created. There is a sample of adding custom celltypes in this forum thread. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=25265


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon