getEnableHyphenationFull();
The getEnableHyphenationFull method determines method for calculation of the table column.
The method returns True if autosize is enabled, otherwise it returns False.
To execute the example, the HTML page must contain the DataGrid component named grid (see Example of Creating the DataGrid Component). Output calculation method for the first table column:
// Get calculation method of the first column width if (measure.getColumns()[0].getEnableHyphenationFull()) { console.log("Autosize is enabled"); } else { console.log("Custom width calculation is enabled"); }
As a result the console displays check result:
Autosize is enabled
See also: