Optional. Enables/disables all the tooltips of a column
tooltip?: boolean | object;
Default value: true
Example
const grid = new dhx.Grid("grid_container", {
columns: [
// columns config
],
data: dataset,
tooltip: false
});
When set as an object, the tooltip
config can have the following properties:
force
- (optional) forces opening of a tooltip; if set to true, the showDelay
and hideDelay
settings 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 boxconst grid = new dhx.Grid("grid_container", {
columns: [
// columns config
],
data: dataset,
tooltip: {
force: true
}
});
Related samples:
Related article: Tooltip
Change log:tooltip
config as an object is added in v8.4Previous
summary
Next
topSplit
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