diff --git a/controls/slick.columnpicker.js b/controls/slick.columnpicker.js
index 47cec5d8..78fb5567 100644
--- a/controls/slick.columnpicker.js
+++ b/controls/slick.columnpicker.js
@@ -151,7 +151,7 @@
const labelElm = document.createElement('label');
labelElm.htmlFor = `${_gridUid}colpicker-${columnId}`;
- labelElm.textContent = columnLabel;
+ labelElm.innerHTML = columnLabel;
liElm.appendChild(labelElm);
_listElm.appendChild(liElm);
}
@@ -243,8 +243,8 @@
/** Update the Titles of each sections (command, customTitle, ...) */
function updateAllTitles(gridMenuOptions) {
- if (_columnTitleElm && _columnTitleElm.textContent) {
- _columnTitleElm.textContent = gridMenuOptions.columnTitle;
+ if (_columnTitleElm && _columnTitleElm.innerHTML) {
+ _columnTitleElm.innerHTML = gridMenuOptions.columnTitle;
}
}
diff --git a/controls/slick.gridmenu.js b/controls/slick.gridmenu.js
index 16d56d97..7c40380b 100644
--- a/controls/slick.gridmenu.js
+++ b/controls/slick.gridmenu.js
@@ -297,7 +297,7 @@
if (_options.gridMenu && _options.gridMenu.customTitle) {
_customTitleElm = document.createElement('div');
_customTitleElm.className = 'title';
- _customTitleElm.textContent = _options.gridMenu.customTitle;
+ _customTitleElm.innerHTML = _options.gridMenu.customTitle;
customMenuElm.appendChild(_customTitleElm);
}
@@ -365,7 +365,7 @@
const textElm = document.createElement('span');
textElm.className = 'slick-gridmenu-content';
- textElm.textContent = item.title;
+ textElm.innerHTML = item.title;
liElm.appendChild(textElm);
@@ -390,7 +390,7 @@
if (_options.gridMenu && _options.gridMenu.columnTitle) {
_columnTitleElm = document.createElement('div');
_columnTitleElm.className = 'title';
- _columnTitleElm.textContent = _options.gridMenu.columnTitle;
+ _columnTitleElm.innerHTML = _options.gridMenu.columnTitle;
_menuElm.appendChild(_columnTitleElm);
}
@@ -468,7 +468,7 @@
const labelElm = document.createElement('label');
labelElm.htmlFor = `${_gridUid}-gridmenu-colpicker-${columnId}`;
- labelElm.textContent = columnLabel;
+ labelElm.innerHTML = columnLabel;
liElm.appendChild(labelElm);
_listElm.appendChild(liElm);
}
@@ -627,11 +627,11 @@
/** Update the Titles of each sections (command, customTitle, ...) */
function updateAllTitles(gridMenuOptions) {
- if (_customTitleElm && _customTitleElm.textContent) {
- _customTitleElm.textContent = gridMenuOptions.customTitle;
+ if (_customTitleElm && _customTitleElm.innerHTML) {
+ _customTitleElm.innerHTML = gridMenuOptions.customTitle;
}
- if (_columnTitleElm && _columnTitleElm.textContent) {
- _columnTitleElm.textContent = gridMenuOptions.columnTitle;
+ if (_columnTitleElm && _columnTitleElm.innerHTML) {
+ _columnTitleElm.innerHTML = gridMenuOptions.columnTitle;
}
}
diff --git a/examples/example-checkbox-row-select.html b/examples/example-checkbox-row-select.html
index f7f58c8e..c086d9fd 100644
--- a/examples/example-checkbox-row-select.html
+++ b/examples/example-checkbox-row-select.html
@@ -6,6 +6,7 @@
+