I have a requirement to display a piece of XML in a multilined cell of Wingrid.It comes out pretty as unformatted,..I have tried to change the CellDisplayStyle to Formatted text but this stripts of the tags giving me only data.I am more interested in displaying the XML tags as such.my question is can we enable this kind of XML rendering in any of the Infragistics controls.I am ok with the kind of XML display supported by IE
Thanks
Anusha
Hi Anusha,
FormattedText means that the cell will interpret the XML using the custom XML formatting like the UltraFormattedTextEditor. So that's not going to work for you.
I think all you need to do is set CellMultiLine to true on the column to get the cells to honor return characters.
Hi Mike
I have already set the CellMultiLine to true.Its not XML formatting i want to display XML data in a multilined cell.In fact,I am already doing that but it does not come out formatted in the way we usually see when XML file is opened in IE..this whole thing below should appear in a multilined cell of the grid but it should be well formatted when showing the XML to the end user.How do we do that ?
<?xml version="1.0" standalone="no"?><Taglist><Tag name="A"><MappedTag region="AA">AAAA</MappedTag></Tag></Taglist>
Thanks.I did it the formatting myself using XMLTextWriter and displayed it.
There's nothing in the grid that can display formatted XML data like in IE. You would have to format the text yourself.