optional The JS handler to remove. If not specified, all handlers will be removed for the event.
Examples
//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');