Skip to content

Feature comparison ​

This page answers one question only: if you already use the ant-design-vue Table or the element-plus Table, what does vtable-guild add, and where does the migration cost mainly fall.

Feature matrix ​

Capabilityant-design-vueelement-plusvtable-guild
Common column configuration and interaction patternsSupportedRelies mainly on el-table-columnSupported, with a design closer to ant-design-vue
Virtual scrollingNot supportedHas a separate Virtualized Table solutionSupported natively, used directly with virtual and scroll.y
Scrolling experienceDefault scrolling experienceBetter experience, a useful referenceExtra polish under the antdv preset, modelled on element-plus
Column resizingSupports resizable, minWidth, maxWidthSupported, usually used in border modeSupported, keeping field conventions close to antdv
Striped rowsMainly through rowClassNameUse stripe directlyUse striped directly
Hover switchNo dedicated switchNo dedicated switchUse hoverable directly
Border modeSupportedSupportedSupported, use bordered directly
Theme preset switchingNot supportedNot supportedSupports antdv / element-plus
Slot-level style overridesRelies mainly on CSS overridesRelies mainly on combining class, style and slotsPrecise overrides through ui and the global theme
Size namingsmall / middle / largelarge / default / smallsmall / middle / large, the same as antdv
Built-in locale presetsRelies on the component library's global configRelies on the component library's global configBuilt-in locales with partial overrides

Adopting the ProTable application enhancements ​

vtable-guild provides the following optional capabilities, modelled on Ant Design ProTable's query, EditableProTable and the ProField protocol. They compose independently with the base table, keep both the antdv / element-plus presets, and do not require you to bring in React or replace the form controls your project already uses.

CapabilityEntry in this libraryWhat you need to handle when adopting it
Query submissionuseTableQuery + useTableRequestBind your existing form to the draft, and route submit and reset through the unified request entry; controls and form validation are managed by the host
Row editing and cached new rowsuseTableEdit + bodyCellUses independent drafts, async validation and save state; the application updates the data and provides the editors and action buttons
Pluggable field displayvalueType / fieldProps / createTableRenderersBuilt-in read-only types such as date-time / range, percent and progress; application-defined mappings are shared with valueEnum; does not generate a complete query or edit form
Lazy-loaded treeloadData / isLeafLoading, errors, retries and race conditions are managed by the table; stable keys and leaf detection are provided by the application, and selection only counts loaded nodes
Instance positioningTableInstance.scrollToPositions by key, visible index or pixels; for unloaded pages and collapsed nodes, the application prepares the data first

Column settings also provide pinning, locking, hidden setting items and drag reordering in the panel, and useColumnState persists user preferences. The Schema query area and column editors / detail forms provide optional control wiring, transforms and full-draft validation. The guides are authoritative for the complete scope; a full ProForm, CRUD flows and server-side batch transactions are not included.

Conclusion ​

  • If you only need a basic table, the stock table is usually enough
  • If you come from ant-design-vue, the main value of vtable-guild is bringing virtual scrolling, a theming system and more direct visual state switches into the same table model
  • If you come from element-plus, the main value of vtable-guild is unifying table capabilities under the same columns + props model, instead of switching between the regular table and a separate enhanced solution

Further reading ​