Next
Update
Prev

KoolGrid can render the HTML-formatted text. In order to set KoolGrid to render the text to HTML output, you need to set the itemRenderer attribute to HtmlItem.

...
<DataGridColumn dataField="desc" ... itemRenderer="HtmlItem" />
...

var gridData = [
  {
    "country": "Korea",
    "capital": "Seoul",
    "desc": "<span style='font-size:12px;'><b>The capital city of Korea</b></span> <span style='font-size:10px;'> <span color='#0000FF'>Population : 10 million</span><br>Area : 605.25 Km2 </span> <br> <span style='font-size:11px; color:#FF0000'>Flower : Forsythia </span>"
  },
...

© 2017 KoolChart. All rights reserved.