<< Click to Display Table of Contents >>
OZUserActionCommand > CopyInputData
OZUserActionCommand의 type 중 CopyInputData는 [입력 데이터 복사 (json)], [입력 데이터 복사 (xml)] 메뉴를 클릭할 때 발생하며, 리턴되는 attr은 다음과 같습니다.
attr |
설명 |
clipboardtext |
복사된 텍스트(string) |
reportname |
보고서 이름(string) |
type |
입력 데이터 타입(string) |
Example
...
function OZUserActionCommand_OZViewer(type, attr) {
var MyObj = eval('(' + attr + ')');
if(type == "CopyInputData") {
alert(MyObj.clipboardtext);
...
}
}
...