dynamic-table-config

Configures backend-defined tables and columns for the Forgex frontend FxDynamicTable component.

1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/codernai14-source/Forgex --skill dynamic-table-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dynamic-table-config
Source: https://github.com/codernai14-source/Forgex/tree/main/.cursor/skills/dynamic-table-config
Command: npx skills add https://github.com/codernai14-source/Forgex --skill dynamic-table-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Forgex 公共表格配置缺乏统一、可复用的表格渲染逻辑、列配置管理和租户/用户自定义覆盖,导致前后端字段不一致、重复开发和维护成本高。

Core Features & Use Cases

  • 动态表格渲染:后端配置驱动前端 FxDynamicTable 渲染表格及列,确保字段链路的一致性。
  • 租户与用户覆盖:支持租户级、公共默认、以及用户自定义列显示和排序的合并逻辑。
  • 国际化与自定义渲染:表头标题实现多语言,且支持 slot 名与字段名严格对应的渲染。
  • 快速联调与开发:提供从表配置到列配置的一体化工作流,减轻前后端重复工作。
  • Use Case: 在企业数据表场景中,通过 fx_table_config 和 fx_table_column_config 统一管理表格行为与展示。

Quick Start

Integrate FxDynamicTable on a page, provide a tableCode and a request function, then customize via fx_table_config.

Frequently Asked Questions about dynamic-table-config

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render dynamic configuration-driven public tables for Forgex?

To render dynamic configuration-driven public tables for Forgex, integrate the FxDynamicTable component on a page, provide a tableCode and a request function, then customize behavior via backend fx_table_config settings.

How does the merge logic for tenant and user table column overrides work?

The merge logic for tenant and user table column overrides works by combining public defaults from fx_table_config, tenant-level settings, and individual user customizations from fx_user_table_config to determine final column display and sorting.

Can I implement internationalized table headers and slot-based rendering with this config?

Yes, you can implement internationalized table headers and slot-based rendering with this config. The system enforces field consistency and supports multi-language titles alongside slot names that correspond strictly to field names.

How do I manage backend table and column settings to ensure frontend field consistency?

You manage backend table and column settings using fx_table_config and fx_table_column_config services. This configuration-driven approach ensures strict field consistency between backend definitions and frontend dynamic table rendering.

What is the best way to allow users to customize their dynamic table columns?

The best way to allow users to customize their dynamic table columns is utilizing the ColumnSettingButton component. It integrates with fx_user_table_config to provide a robust workflow for individual column display and sorting overrides.

Why does my dynamic table show inconsistent fields between frontend and backend?

Your dynamic table shows inconsistent fields because of misaligned configuration. Enforcing strict field consistency through backend-driven fx_table_column_config ensures the FxDynamicTable frontend rendering matches backend definitions exactly.