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

How do I format a SSN column in a datagrid?

Hi, I''m having one column for SSN[Social Security Number]in my DataGrid which is of format Number(10). I need to format it to ###-###-#### in a DataGrid. Can anybody please tell me how to do that. Regards Talat

1 Reply

AD Administrator Syncfusion Team September 26, 2005 09:58 AM UTC

Hi Talat, Try Style.CellType = "MaskEdit"; Style.MaskEdit.Mask = "###-###-####"; Refer the sample in syncfusion\essential studio\3.2.1.0\Windows\Grid.Windows\samples\CellTypes\MaskEditCells Best regards, Stanley

Loader.
Live Chat Icon For mobile
Up arrow icon