Excel-like Online Editing
mobile
Based on VTable's plugin mechanism, this example implements Excel-like online editing functionality.
In this example, we use the following plugins in combination:
AddRowColumnPlugin: Add rows and columnsPastedAddRowColumnPlugin: Add new rows or columns when there are not enough rows or columns when pastingColumnSeriesPlugin: Column series pluginRowSeriesPlugin: Row series pluginHighlightHeaderWhenSelectCellPlugin: Highlight selected cellsExcelEditCellKeyboardPlugin: Excel-style cell editing keyboard plugin
It's important to note that there are dependencies between plugins. For example, in the AddRowColumnPlugin, we call the columnSeries.resetColumnCount method to reset the column count, ensuring that after adding columns, the count remains consistent with the column count in the ColumnSeriesPlugin.