Home Forums WinForms controls Xceed Grid for WinForms Winform Xceed Grid Cell display Html content?? Reply To: Winform Xceed Grid Cell display Html content??

Xceed Support
Member
Post count: 5658
Hi Kenny,
We do not support this out of the box, but you can place any control within the CellViewerManager. You can get any control that will display html and place that in the CellViewerManager, for 
example:
C#
----------------------
TrackBar bar = new TrackBar();
CellViewerManager manager = new CellViewerManager( bar, "Value" );

// Because these variables affect all instances, there is no need for this to be done
// in the SettingControlAppearance event. If these values were to be applied differently
// depending on a cell value, then they should be done in the SettingControlAppearance event.
bar.Minimum = minValue;
bar.Maximum = maxValue;
bar.TickStyle = TickStyle.None;
bar.AutoSize = false;

gridControl1.Columns[ "Freight" ].CellViewerManager = manager;
----------------------
For more information, you can refer to the online documentation which shows you how to place your control as a CellViewer. The old way of doing this was to create your own CellViewer 
and derive from the ICellViewer interface. This proved to be tedious so it became obsolete.http://doc.xceedsoft.com/products/XceedGrid/CellViewerManagers.htmlhttp://doc.xceedsoft.com/products/XceedGrid/Custom_CellViewMangers_and_Reports.html 

Imported from legacy forums. Posted by Marc [Xceed] (had 1005 views)