Banana.Document.Cursor

文件资料 • 1 分钟的阅读
在此文中

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.

Javascript
Copy


var currentTable = Banana.document.cursor.tableName;

rowNr

Return the number of the current row.

Javascript
Copy


var currentRow = Banana.document.cursor.rowNr;

columnName

Return the xml name of the current column.

Javascript
Copy


var currentColumn = Banana.document.cursor.columnName;

selectionTop

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

Javascript
Copy


var currentSelectionTop = Banana.document.cursor.selectionTop;

selectionBottom

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

Javascript
Copy


var currentSelectionBottom = Banana.document.cursor.selectionBottom;

请帮助我们完善必备文件

我们非常欢迎您发送宝贵的反馈意见

请告诉我们什么主题需要更好的解释或如何才能更好的对其诠释。

分享这篇文章: Twitter | Facebook | LinkedIn | Email