Hi,
Is it possible to change the default behaviour of the WinGrid to display the ToString() of a property in a cell.
For instance, instead of invoking the ToString() method on a class I want to implement a method called FormattedText(), and a want to set the cell display to this result at runtime.
Thanks.
I want to avoid the use of an editor as I am not going to edit the contents of the cell but just want to change the way the value in the cell is displayed.
I will try it if there is no other way to get the desired results.
I think you can do it with a DataFilter. You can see a sample here:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=5014
I made a sample of converting TimeSpan to a DateTimeEditor. You can see it in my page:
http://community.infragistics.com/members/jct/default.aspx