Banana.Document.Cursor

Documentation •
In this article

Banana.Document.Cursor is the interface to the cursor and can be accessed through Banana.document.cursor.

Properties

tableName

Return the xml name of the current table.



var currentTable = Banana.document.cursor.tableName;

rowNr

Return the number of the current row.



var currentRow = Banana.document.cursor.rowNr;

columnName

Return the xml name of the current column.



var currentColumn = Banana.document.cursor.columnName;

selectionTop

Return the index of the top row of the current selection.



var currentSelectionTop = Banana.document.cursor.selectionTop;

selectionBottom

Return the index of the bottom row of the current selection.



var currentSelectionBottom = Banana.document.cursor.selectionBottom;
Tell us how we can help you better
If the information on this page is not what you're looking for, is not clear enough, or is not up-to-date, let us know.

Share this article: Twitter | Facebook | LinkedIn | Email