<< Click to Display Table of Contents >>

OZUserActionCommand > RequestData

OZUserActionCommand의 type 중 RequestData는 뷰어에서 데이터를 요청할 때 발생하며, 리턴되는 attr은 다음과 같습니다.

attr

설명

reportname

보고서 이름(string)

state

요청 상태(string)

"false"(요청 시작 직전), "true"(요청 완료 후) 중 하나의 값으로 리턴됨

Example

...

function OZUserActionCommand_OZViewer(type, attr) {

   var MyObj = eval('(' + attr + ')');

   if(type == "RequestData") {

       alert(MyObj.reportname);

       ...

   }

}

...