!!!###!!!title=Excel-like Online Editing——VisActor/VTable demo!!!###!!!!!!###!!!description=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 columns - `PastedAddRowColumnPlugin`: Add new rows or columns when there are not enough rows or columns when pasting - `ColumnSeriesPlugin`: Column series plugin - `RowSeriesPlugin`: Row series plugin - `HighlightHeaderWhenSelectCellPlugin`: Highlight selected cells - `ExcelEditCellKeyboardPlugin`: 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`.!!!###!!!

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 columns
  • PastedAddRowColumnPlugin: Add new rows or columns when there are not enough rows or columns when pasting
  • ColumnSeriesPlugin: Column series plugin
  • RowSeriesPlugin: Row series plugin
  • HighlightHeaderWhenSelectCellPlugin: Highlight selected cells
  • ExcelEditCellKeyboardPlugin: 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.

PX
x
PX
%
Agent Editor
Share