Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active July 25, 2022 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/d2b7afff6f138a525ee9f54fe9403a85 to your computer and use it in GitHub Desktop.
Save bjoerntx/d2b7afff6f138a525ee9f54fe9403a85 to your computer and use it in GitHub Desktop.
TXTextControl.tables.add(5, 5, 10, function(e) {
if (e === true) { // if added
TXTextControl.tables.getItem(function(table) {
table.cells.forEach(function(cell) {
cell.setText("Cell Text");
});
}, null, 10);
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment