|
Events |
Top Previous Next |
|
Events are used to customise the behaviour of the control. The following client-side events can be assigned a client-side method using the bind method. All the handlers are passed as the first argument a reference to the control that fired the event. Some events are passed an object as a second argument that contains properties that are related to that particular event. Those events which are cancelable contain a cancel property which can be set to true to suppress the related behavior. For example setting the cancel property for the onBeforeFileDeleted event will suppress the deletion of the file. Fired before a file is displayed in a window (fileSelectionAction = Display) Arguments
Fired before a file is deleted and can be used to validate the deletion. Setting the cancel property to false in the handler will suppress the deletion. Information about the file can be accessed via the fileInfo object Arguments
Fired before a file is selected and can be used to suppress the selection. Setting the cancel property to false in the handler will suppress the selection. Information about the file can be accessed via the fileInfo object Arguments
Fired just before the control is initialized for the first time. Arguments
Fired for each cell in the display after the page has been loaded and can be used to customise the information displayed in the control. Information about the file can be accessed via the fileInfo object Arguments
This event is fired after a file has been uploaded. Arguments
Fired when a folder is selected. Arguments
Fired after the control is initialized. Arguments
Fired after a page of data is loaded. Arguments
Fired after a row is selected |