1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | /**
|
7 | * Module : kero dataTable getFocus
|
8 | * Author : liuyk(liuyk@yonyou.com)
|
9 | * Date : 2016-08-08 09:59:01
|
10 | */
|
11 |
|
12 | /**
|
13 | * 获取焦点行
|
14 | */
|
15 | var getFocusRow = function getFocusRow() {
|
16 | if (this.focusIndex() != -1) return this.getRow(this.focusIndex());else return null;
|
17 | };
|
18 |
|
19 | /**
|
20 | * 获取焦点行
|
21 | */
|
22 | var getFocusIndex = function getFocusIndex() {
|
23 | return this.focusIndex();
|
24 | };
|
25 |
|
26 | exports.getFocusRow = getFocusRow;
|
27 | exports.getFocusIndex = getFocusIndex; |
\ | No newline at end of file |