Welcome to the Xceed Community | Help
Community Search  
More Search Options

Winform Xceed Grid Cell display Html content??

Sort Posts: Previous Next
  •  09-21-2011, 11:27 PM Post no. 31073

    Winform Xceed Grid Cell display Html content??

     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!

     

    kenny

  •  10-06-2011, 7:05 AM Post no. 31157 in reply to 31073

    Re: Winform Xceed Grid Cell display Html content??

    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 

    Marc

    Developer in Technical Support
    Xceed - Multi-talented components - http://xceed.com
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.