A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/grid/api/gridcolumn_properties/gridcolumn_htmlenable_property/ below:

Website Navigation


JavaScript Grid column - htmlEnable Config

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​

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4