This question is locked. New answers and comments are not allowed.
Hello,
I did create a custom GridViewColumn to handle a complex type of my own.
I've been able to create the edit control by overiding the CreateCellEditElement function and this work perfectly.
However, I wonder how should the standard element be created. In fact, I don't need anything fancy here. I just want to display a formated string (base on a custom DataGridColumn property) like standard text column does.
What is the best way to do this?
Should I create a control in the CreateCellElement or is there a built-in way to handle simple string in a custom GridViewColumn?
Best regards,
Simon
I did create a custom GridViewColumn to handle a complex type of my own.
I've been able to create the edit control by overiding the CreateCellEditElement function and this work perfectly.
However, I wonder how should the standard element be created. In fact, I don't need anything fancy here. I just want to display a formated string (base on a custom DataGridColumn property) like standard text column does.
What is the best way to do this?
Should I create a control in the CreateCellElement or is there a built-in way to handle simple string in a custom GridViewColumn?
Best regards,
Simon
