i am binding the wingrid to a custom object, one of the property on the custom object is also an object. the grid is display the type name of the sub object. i want to display a property name in the sub object how would I do this.
Actually, the grid does not display type name directly. What the grid does is call the ToString method on the cell's Value. The default implementation of ToString shows the name of the type.
So the easiest thing for you to do would to override the the ToString method on your class to return whatever you want the user to see.
Hello CommoditiesIT
Have you been able to resolve your issue ? If you still have any concerns or questions I will be glad to help. If you need any additional assistance don’t hesitate to ask.
Regards
Hello CommoditiesIT,
I`m not sure that I understand well your requirements, but I try to reproduce your scenario in a small sample. Could you please take a look at the attached sample and let me know if you think that I missunderstand your case. Please feel free to modify this sample to reproduce your scenario and revert it back to me. I`ll be glad to research it for you.
Let me know if you have a any questions.