|
|
@ -134,4 +134,20 @@ function fnMakeResizableTable(containerEl){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
containerEl.addHandle();
|
|
|
|
containerEl.addHandle();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
|
|
|
* 행 번호 표시 테이블
|
|
|
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
function fnMakeRowNumberingTable(tbody, markerFinder, markerSetter){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var moCallbackFunc = function(mutationList, observer){
|
|
|
|
|
|
|
|
var target = mutationList[0].target;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(target).find("tr").each(function(idx, item){
|
|
|
|
|
|
|
|
markerSetter(markerFinder(item),idx+1);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
var mo = new MutationObserver(moCallbackFunc);
|
|
|
|
|
|
|
|
mo.observe(tbody, {childList : true});
|
|
|
|
}
|
|
|
|
}
|