Is it possible to create a FixedHeaderRow that can display a graphic in one cell only? I have created a cellviewer class that displays a value as a graphic, and I would like to display the average of all these values as a graphic in a fixed row, to allow easy comparison of each row’s value with the overall average for the dataset.
Does anyone know of a way to do this? Thanks.
Imported from legacy forums. Posted by deb (had 1903 views)
You could add a <b>ValueRow</b> to the <b>FixedHeaderRows</b> collection of your grid, and set the <b>CellViewer</b> property of the specific cell to an instance of your cellviewer. Like this:<code>ValueRow myRow = new ValueRow(); myGrid.FixedHeaderRows.Add(myRow); myRow[“myColumn”].CellViewer = new MyCellViewer();</code>
Imported from legacy forums. Posted by Tommy (had 2917 views)