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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #17627 |

     though may be it’s a bit too “fancy…… but i just would like to know is there any possibility to display html content in a winform grid cell??

    coz i need to display the content converted from xsl in the cell……..


    thx in adv!



    Imported from legacy forums. Posted by kenny (had 1810 views)

    Xceed Support
    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 
    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)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.