SMART datagrid v.1 > Classes > DisplayOptions

[ grids ver.1.3.2]   Back  Forward

DataLudi.DisplayOptions.tooltipMaxWidth  property

It specifies the maximum width of tooltip box in pixels. 

If the default value is 0, there will be no limit. And, it specifies the minimum width by tooltipMinWidth

Defaults to 0.

Getter
function tooltipMaxWidth(): Integer
Setter
function setTooltipMaxWidth(value: Integer)
Code -1
    grid.setOptions({
        display: {
            tooltipMaxWidth: 200,
            tooltipMinWidth: 0
        }
    });
Code -2
    grid.setDisplayOptions({
        tooltipMaxWidth: 200,
        tooltipMinWidth: 0
    });
Code -3
    grid.displayOptions().setTooltipMaxWidth(200);
See Also
tooltipMinWidth
tooltipLineBreak
tooltipStyles
DataCellRenderer.showTooltip
GridBody.tooltipCallback
GridHeader.tooltipCallback
GridFooter.tooltipCallback
HeaderSummary.tooltipCallback
Examples
Tooltips
Link Cell Renderer