Events on the online spreadsheet
Custom table scripting after changes
Jspreadsheet offers a native feature to customize your table on the fly. You can define the method updateTable to create rules to customize the data should be shown to the user, as the example below.
Jspreadsheet available events in this version.
|This method is called when the method setData
|Before a column value is changed. NOTE: It is possible to overwrite the original value, by return a new value on this method. v3.4.0+
|After a column value is changed.
|After all changes are applied in the table.
|Before the paste action is performed. Used to parse any input data, should return the data.
|After a new row is inserted.
|Before a new row is inserted. You can cancel the insert event by returning false.
|After a row is excluded.
|Before a row is deleted. You can cancel the delete event by returning false.
|After a new column is inserted.
|Before a new column is inserted. You can cancel the insert event by returning false.
|After a column is excluded.
|Before a column is excluded. You can cancel the insert event by returning false.
|After a row is moved to a new position.
|After a column is moved to a new position.
|After a change in row height.
|After a change in column width.
|On the selection is changed.
|After a colum is sorted.
|On table focus
|On table blur
|On column merge
|On header change
|On undo is applied
|On redo is applied
|When a openEditor is called.
|When a closeEditor is called.
|When a setStyle is called.
|When a setMeta is called.