Type: cell

Editable: true

Tags: th, td

Any th, td tag will become an editable block cell of the table.

<table>
    <tr>
        <td>...</td>
    </tr>
</table>

getNextCell #

Returns the instance of the next cell.

var instance = this.app.block.get();
var nextInstance = instance.getNextCell();

getPrevCell #

Returns the instance of the previous cell.

var instance = this.app.block.get();
var nextInstance = instance.getNextCell();

getWidth #

Returns the width of the cell.

var instance = this.app.block.get();
var width = instance.getWidth();

getNowrap #

Returns the nowrap state of the cell (true or false).

var instance = this.app.block.get();
var is = instance.getNowrap();

setWidth #

Sets the width of the cell.

var instance = this.app.block.get();
instance.setWidth('200px');

setNowrap #

Sets the white-space: nowrap for the cell.

var instance = this.app.block.get();
instance.setNowrap(true);