SpreadJS Documentation
Allowing Cell Overflow

You can allow text to overflow into adjacent cells.

Using Code

This example allows the text to overflow.

JavaScript
Copy Code
$(document).ready(function () {
    var spread = new GcSpread.Sheets.Spread($("#ss").get(0),{sheetCount:3});
    var activeSheet = spread.getActiveSheet();

    // Overflow display is enabled.
    activeSheet.allowCellOverflow(true);

    activeSheet.getCell(1, 3).value("Any characters pushed outside the cell width are displayed as overflows.");
});
See Also

Developer's Guide

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.