1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | var getCurrentRow = function getCurrentRow() {
|
17 | if (this.focusIndex() != -1) return this.getFocusRow();
|
18 | var index = this.getSelectedIndex();
|
19 | if (index == -1) return null;else return this.getRow(index);
|
20 | };
|
21 |
|
22 | var getCurrentIndex = function getCurrentIndex() {
|
23 | if (this.focusIndex() != -1) return this.focusIndex();
|
24 | var index = this.getSelectedIndex();
|
25 | if (index == -1) return -1;else return index;
|
26 | };
|
27 |
|
28 | exports.getCurrentRow = getCurrentRow;
|
29 | exports.getCurrentIndex = getCurrentIndex; |
\ | No newline at end of file |