UNPKG

533 BJavaScriptView Raw
1"use strict";
2
3Object.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 */
15var getFocusRow = function getFocusRow() {
16 if (this.focusIndex() != -1) return this.getRow(this.focusIndex());else return null;
17};
18
19/**
20 * 获取焦点行
21 */
22var getFocusIndex = function getFocusIndex() {
23 return this.focusIndex();
24};
25
26exports.getFocusRow = getFocusRow;
27exports.getFocusIndex = getFocusIndex;
\No newline at end of file