The buttonCreating event is called before the caption buttons are created.
It can be used to change the array of the buttons or to change, add, or remove buttons from the title bar.
Syntax
Javascript (Usage) | |
---|
var instance; // Type: options
instance.buttonCreating = function(e, data) { };
|
Javascript (Specification) | |
---|
buttonCreating = function (
: jQuery.Event,
: object
) { };
|
Parameters
- e
- jQuery Event object
- data
- Buttons array that will be created.
See Also
Reference
options type