.cancelWindow()

Previous Next

Rejects the lookup value and close the lookup page or dialog.

Returns the 'this' object.

Syntax

.cancelWindow( options )

 

options  :=  {

    success:  success-function

,   error:  error-function

}

Options is a struct that can have the following items, all of which are optional.

Success-function is a function called after the operation has successfully completed.

Error-function is a function called if an error occurs.

NOTE: This function is called by default on the Cancel button of the default lookup pages.

 

Example

$.udb.cancelWindow();