onBeforeDynParse

fires before the data loaded from the server-side script will be parsed into the widget

boolean onBeforeDynParse(object folder,hash data,string mode){ ... };

Parameters

folderobjectthe object of the folder data was loaded into
datahashthe data that will be parsed into FileManager (see details)
modestringthe name of the dynamic loading mode

Returns

booleanfalse, if the operation needs to be blocked

Example

$$("fmanager").attachEvent("onBeforeDynParse",function(folder, data, mode){
    // your code
    return true;
});

Details

The folder object contains all the properties of the related folder.

The data parameter is a hash that includes two "key:value" pairs:

  • data - (array) the loaded data
  • parent - (string) id of the folder where we load new data
See also
Back to top