on_before_open(item, params)
domain: client
language: javascript
class Item class
Occurs before an application sends a request to the server for obtaining a dataset.
The item
parameter is an item that triggered the event.
The params
parameter is an object that has been passed to the
open
method or an empty object if this object is undefined.
This object is passed to the server and can be used in the
on_open
event handler to perform some actions when obtaining a dataset
Write an on_before_open event handler to take specific action immediately before an application obtains an dataset from the server.
on_before_open is called by open method.