jsx3.gui.TableAPI


ChangeFires after the user changes the selection of this table.
DestroyFires after this table is removed from the DOM.
ExecuteFires after the user double-clicks this table.
MenuFires after the user right-clicks this table and before the bound context menu displays.
SpyglassFires after the user hovers the mouse over this table and before the spyglass displays.

Executejsxexecute

Fires after the user double-clicks this table.

Context Variables

this {jsx3.gui.Table} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.
strRECORDID {String} - the CDF jsxid of the selected record.
strRECORDIDS {Array<String>} - the list of CDF jsxids of the selected records.

Changejsxchange

Fires after the user changes the selection of this table.

Context Variables

this {jsx3.gui.Table} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.
strRECORDID {String} - the CDF jsxid of the selected record.
strRECORDIDS {Array<String>} - the list of CDF jsxids of the selected records.
preVALUE {String | Array<String>} - the result of this.getValue() before the change event occurs.

Spyglassjsxspy

Fires after the user hovers the mouse over this table and before the spyglass displays. The event script must evaluate to the HTML content to display in the spyglass. Canceling this event prevents the spyglass from displaying.
Cancelable: Evaluate to false to cancel event.

Context Variables

this {jsx3.gui.Table} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.
strRECORDID {String} - the CDF jsxid of the spied record.
intCOLUMNINDEX {int} - the index (zero-based) for the target cell

Menujsxmenu

Fires after the user right-clicks this table and before the bound context menu displays. Canceling this event prevents the menu from displaying.
Cancelable: Evaluate to false to cancel event.

Context Variables

this {jsx3.gui.Table} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.
objMENU {jsx3.gui.Menu} - the menu to display.
strRECORDID {String} - the CDF jsxid of the selected record.
intCOLUMNINDEX {int} - the index (zero-based) for the target cell

Return Fields

objMENU {jsx3.gui.Menu} - use this field to override the default menu with an instance of jsx3.gui.Menu.

Destroyjsxdestroy

Fires after this table is removed from the DOM.

Context Variables

this {jsx3.gui.Table} - the object that publishes this event.
objPARENT {jsx3.app.Model} - the parent of this table before it is removed from the DOM.