I want to display negative values with a CR suffix, instead of a minus sign. How can I perform custom formatting on the cells in my datagrid

Platform: WinForms| Category: Datagrid

Take a look at this Microsoft KB article, HOW TO: Extend the Windows Form DataGridTextBoxColumn Control to Custom-Format Data (Q318581). It subclasses a DataGridColumnStyle and overrides both GetColumnValueAtRow and Commit to implement this behavior.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.