TreeListBase.FilterChanging

Syntax

FilterChanging: function(sender, args);

Parameters

sender. Event source.

args. Event information:

Description

The FilterChanging event occurs before filter is changed.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Set event
Tree.FilterChanging.add( function(sender, args) {
  console.log("FilterChanging event:");
  console.log(args);
});
// Initialize event
Tree.setFilter("node", 0);

After executing the example the FilterChanging event is added.

See also:

TreeListBase