|
|
@ -52,6 +52,36 @@ function fnMakeOptionStyleSelect(selectEl){
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* 행 위치 이동 가능한 테이블
|
|
|
|
* 행 위치 이동 가능한 테이블
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
function getBrowserName() {
|
|
|
|
|
|
|
|
var agent = navigator.userAgent.toUpperCase();
|
|
|
|
|
|
|
|
if (agent.indexOf('TRIDENT') >= 0) {
|
|
|
|
|
|
|
|
return 'IE';
|
|
|
|
|
|
|
|
} else if (agent.indexOf('FIREFOX') >= 0) {
|
|
|
|
|
|
|
|
return 'FIREFOX';
|
|
|
|
|
|
|
|
} else if (agent.indexOf('EDG') >= 0) {
|
|
|
|
|
|
|
|
return 'EDGE';
|
|
|
|
|
|
|
|
} else if (agent.indexOf('CHROME') >= 0) {
|
|
|
|
|
|
|
|
return 'CHROME';
|
|
|
|
|
|
|
|
} else if (agent.indexOf('SAFARI') >= 0) {
|
|
|
|
|
|
|
|
return 'SAFARI';
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return '';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
const BROWSER_NAME = getBrowserName();
|
|
|
|
|
|
|
|
var VERTICAL_SCROLL_HEIGHT = 14;
|
|
|
|
|
|
|
|
switch(BROWSER_NAME){
|
|
|
|
|
|
|
|
case "EDGE" :
|
|
|
|
|
|
|
|
VERTICAL_SCROLL_HEIGHT = 14;
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
case "FIREFOX" :
|
|
|
|
|
|
|
|
VERTICAL_SCROLL_HEIGHT = 15;
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
case "CHROME" :
|
|
|
|
|
|
|
|
VERTICAL_SCROLL_HEIGHT = 15;
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function fnMakeRowSpinner(tableRowEl, upBtnEl, downBtnEl, scrollEl, validFunc){
|
|
|
|
function fnMakeRowSpinner(tableRowEl, upBtnEl, downBtnEl, scrollEl, validFunc){
|
|
|
|
|
|
|
|
|
|
|
|
if(validFunc != undefined && validFunc != null){
|
|
|
|
if(validFunc != undefined && validFunc != null){
|
|
|
|