Akshara
Akshara

Reputation: 3391

How can i show the htmltext in XtraGrid column in devexpress

I am having the Xtragrid showing the datatable details. In the datatable I am having html text in one column. I want to show html Text for that column. Any one please help

Upvotes: 2

Views: 3010

Answers (1)

DevExpress Team
DevExpress Team

Reputation: 11376

You should set the column's ColumnEdit property to an instance of the RepositoryItemRichTextEdit class. Set the RepositoryItemRichTextEdit.DocumentFormat property to DevExpress.XtraRichEdit.DocumentFormat.Html.

This should allow you to achieve the required behavior.

Upvotes: 4

Related Questions