Flexmonster Software License Agreement (“Agreement”) has been significantly revised and is effective as of September 30, 2024.
The following modifications were made:
The modified version of Flexmonster Software License Agreement is available here.
Downloading, installing, and/or continuing to use Flexmonster Software after September 30, 2024, constitutes Licensee’s acceptance of the terms and conditions of the modified version of Flexmonster Software License Agreement. If Licensee does not agree to any of these terms and conditions, they must cease using Flexmonster Software and must not download, install, use, access, or continue to access Flexmonster Software. By continuing to use Flexmonster Software or renewing the license under License Model or Maintenance after the effective date of any modifications to Agreement, Licensee accepts and agrees to be bound by the terms and conditions of the modified Agreement.
off(eventName: String, functionName: Function)
[starting from version: 2.3]
Removes JS handlers for specified event.
Parameter/Type | Description |
---|---|
eventName String | The name of the component's event. |
functionName Function | optional The JS handler to remove. If not specified, all handlers will be removed for the event. |
//remove all handlers for 'cellclick' event
pivot.off('cellclick');
//add handler for 'cellclick' event
pivot.on('cellclick', onCellClick);
function onCellClick(result) {
alert('The cell is clicked');
}
//remove specified handler for event
pivot.off('cellclick', onCellClick);
//note that if you added the listener the following way:
pivot.on('celldoubleclick', function () {
alert('The cell is double clicked');
});
//it is impossible to remove such listener by name,
//so the only option here is to remove all the handlers by calling:
pivot.off('celldoubleclick');
Check the example on JSFiddle.