Home › Forums › WinForms controls › Xceed Grid for WinForms › Custom CellViewerManager groupBy text
I’ve created a custom CellViewerManager that displays an image by overrideing the GetImageCore method. The cell shouldn’t contain any text.
However, when I group by the column I want text to be displayed. I’ve override the GetTextCore method but only display the text if it’s a group header, not if it’s a normal cell. How can I do this?
protected override string GetTextCore(object value, CellTextFormatInfo formatInfo, GridElement gridElement)
// Pseudo Code
if (gridElement is Group Header )
Imported from legacy forums. Posted by Mat (had 787 views)
I answered my own question.
if (gridElement is DataBoundColumn)
Imported from legacy forums. Posted by Mat (had 723 views)