SharpLeaf Reference > Table Methods > NextEmptyColumn Method

Table.NextEmptyColumn Method

Move cell pointer to the right, after next non-empty column.

Content of columns before current column is ignored.

If a row is specified, the cell pointer will be moved to that row too. Otherwise, the current row is used.

Content of rows above the argument row (current row by default) are ignored to decide whether a column is empty.



New current column (starting at 1).


   tb.NextEmptyColumn(2);  // move after next non-empty column, starting at row 2


Returns new column index.

See also ...

Filling cells of a Table | Table Members | Table.NextColumn Method | Table.NextEmptyRow Method

Send comments on this topic
© Dyalog Ltd 2016