Skip to main content

htmlEnable

Optional. Allows using and displaying HTML content in a column

note

If set to false, the content of the column cells will be displayed as a string value.

Usage

htmlEnable?: boolean;

Default value: false

Example

const grid = new dhx.Grid("grid_container", {
columns: [
{ id: "population", htmlEnable: true, header: [
{ text: "<span className='header-title'>Population</span>" }
]},
// more columns configuration objects
],
// more options
});

Related article: HTML content of Grid columns

Related sample: Grid. HTML in data