headerTooltip
Optional. Controls the header tooltips
note
The headerTooltip config redefines the value of the tooltip config for the header tooltips.
headerTooltip?: boolean | object;
Default value: true
Example
const grid = new dhx.Grid("grid_container", {
columns: [
// columns config
],
data: dataset,
tooltip: false, // Disable all tooltips
headerTooltip: true, // Enable all header tooltips
});
When set as an object, the headerTooltip config can have the following properties:
force- (optional) forces opening of a tooltip; if set to true, theshowDelayandhideDelaysettings are ignored, false by defaultshowDelay- (optional) the time period that should pass before showing a tooltip, in mshideDelay- (optional) the time period that should pass before hiding a tooltip, in msmargin- (optional) the margin between the node and tooltip; 8px by defaultposition- (optional) the position of a tooltip: "right", "bottom", "center", "left", "top"; "bottom" by defaultcss- (optional) the style of a tooltip box
const grid = new dhx.Grid("grid_container", {
columns: [
// columns config
],
data: dataset,
headerTooltip: {
force: true
}
});
Change log:
- The ability to set the
headerTooltipconfig as an object is added in v8.4 - Added in v8.2