Provides UI5 table best practices for freestyle applications: control selection matrix, mandatory rules, common errors, and per-control API guidance for all table types.
Ships in ui5. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Apply these guidelines whenever generating, reviewing, or troubleshooting UI5 table code in freestyle applications.
UI5 version baseline: SAPUI5 1.136+ LTS. All features mentioned are available from this version unless noted.
| Trigger | Load |
|---|---|
Working on or planning a sap.m.Table (ResponsiveTable) | references/sap-m-table.md |
Working on or planning a sap.ui.table.Table (GridTable) | references/grid-table.md |
Working on or planning a sap.ui.table.TreeTable | references/tree-table.md |
Working on or planning a sap.ui.comp.smarttable.SmartTable | references/smart-table.md |
Working on or planning a sap.ui.mdc.Table | references/mdc-table.md |
| Adding drag-and-drop to any table | references/drag-and-drop.md |
| Adding column personalization | references/personalization.md |
| Choosing cell templates, alignment, or data type binding | references/cell-templates.md |
Load before producing any output. Do not work from memory.
rows aggregation for sap.ui.table.* and items for sap.m.Table. Never swap them.sap.m.p13n.Engine for personalization. Never build custom personalization dialogs.ariaLabelledBy on every table, referencing the table title control.hAlign="End"), text and links left.sap.m.Text for display, sap.m.ObjectNumber for numbers, sap.m.Link for navigation.$count=true from the back end for sap.ui.table.* when a total count is required.rowMode aggregation (not the deprecated visibleRowCountMode property) for sap.ui.table.* (UI5 1.119+).sap.ui.define AMD modules or ES6 imports.sap.ui.table.* cells — it breaks virtualization.sap.ui.export.Spreadsheet is available. Detect the library before use.sap.ui.table.Table for mobile-first scenarios. Use sap.m.Table.sap.m.Table for datasets with 1000+ rows that require virtualization.sap.ui.table.Table cell.ColumnListItem highlight. Use direct data binding.sap.ui.model.odata.type.* with a JSON model, or sap.ui.model.type.* with OData.Prefer SAP Fiori elements building blocks over freestyle tables for OData V4. Use sap.ui.mdc.Table only when Fiori elements is out of scope.
| Table type | Use when | Do not use when |
|---|---|---|
sap.m.Table | Mobile/responsive, pop-in behavior, JSON models, fewer than 100 rows | 1000+ rows, virtualization required, desktop-only, cell selection needed |
sap.ui.table.Table | Desktop, 1000+ rows, virtualization, fixed columns, dense data | Mobile-first, pop-in required, text wrapping, small datasets |
sap.ui.table.TreeTable | Hierarchical data, expand/collapse, parent-child relationships | Flat data, mobile-first, grouping (not hierarchy) |
SmartTable | OData V2, annotations, automatic columns, smart filtering | JSON-only, precise control required, OData V4 |
sap.ui.mdc.Table | OData V4 freestyle (when Fiori elements is ruled out), delegate pattern | JSON-only, simple apps, OData V2 |
| Rows | Recommended table | Strategy |
|---|---|---|
| < 100 | sap.m.Table | Simple binding, growing optional |
| 100–1000 | sap.ui.table.Table | Virtualization, threshold=100 |
| 1000+ | sap.ui.table.Table | Virtualization, threshold=100–500, $count=true when needed |
| Symptom | Cause | Fix |
|---|---|---|
| No data displayed | Incorrect binding path or missing model | Verify bindRows/bindItems path and model attachment. |
Rows not scrolling (sap.ui.table.*) | Count not requested | Set $count=true for OData when a total count is required. |
Selection not working (sap.ui.table.*) | Plugin conflict | Do not call the table selection API when a selection plugin is applied; use the plugin API instead. |
| Text wrapping issues | Wrapping enabled in sap.ui.table.* | Use fixed-height content or switch to sap.m.Table. |
| Copy/paste not working | Plugin not attached or wrong namespace | Attach the correct plugin (see Drag & Drop section). |
| Personalization not persisting | Engine not configured | Verify sap.m.p13n.Engine registration. |
CopyProvider error | extractData not defined | Implement extractData on the plugin. |
| Table not visible | Invalid container structure | Use a valid container (see Container Structures). |
| OData types on JSON model | Wrong type namespace | Match the type namespace to the model: sap.ui.model.type.* for JSON, sap.ui.model.odata.type.* for OData V2, sap.ui.model.odata.v4.type.* for OData V4. |
| Excel export fails silently | Library not loaded or invalid extractData | Detect the library, return a 2D array from extractData, ensure dataSource binding. |
| "No Data Available" | Model not set before binding | Set the model in Component.init() before router initialization. |
| Structure | Use case |
|---|---|
View > Page > content > Table | Standard page |
View > Page > content > Panel > Table | Grouped content |
View > Page > content > IconTabBar > items > IconTabFilter > Table | Tabs |
View > SplitApp > detailPages > Page > Table | Master-detail |
View > Dialog > content > Table | Modal |
View > Table | Standalone |
| Structure | Issue |
|---|---|
Page > content > VBox > Table | VBox needs explicit height — table becomes invisible |
Page > VBox > Table | VBox not in content — table not rendered |
Page > content > FlexBox > Table | Sizing conflict — table collapses |
Page > content > ScrollContainer > Table | Double scrolling — virtualization breaks |
sap.m.p13n.Engine).sap.ui.table.Table cells.SmartTable with V4 services.threshold without load testing.$count=true (request count only when needed).ariaLabelledBy on every table, referencing the visible title.sap.m.Text (not raw text nodes) as cell templates.sap.ui.table.Table: test keyboard navigation (Tab, arrow keys, Space/Enter for selection).references/cell-templates.md (opens in a new tab)references/drag-and-drop.md (opens in a new tab)references/grid-table.md (opens in a new tab)references/mdc-table.md (opens in a new tab)references/personalization.md (opens in a new tab)references/sap-m-table.md (opens in a new tab)references/smart-table.md (opens in a new tab)references/tree-table.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/ui5-best-practicesUI5 development best practices and coding standards derived exclusively from official SAP UI5 guidelines. Use when writing UI5 applications to ensure modern, maintainable code following SAP standards. Covers: async module loading (sap.ui.define, ES6 imports, core:require), ComponentSupport initialization, data binding with OData types, i18n management, CSP compliance (no inline scripts), TypeScript event types (UI5 >= 1.115.0), MCP tooling (get_api_reference, run_ui5_linter), CAP integration patterns, and form creation rules (never SimpleForm, always Form with ColumnLayout).
Keywords: ui5 coding standards, async loading, sap.ui.define, data binding, odata types, i18n translation, CSP no inline scripts, TypeScript event handlers, Button$PressEvent, ui5 linter, API reference, ComponentSupport, form layout, ColumnLayout, CAP integration, cds watch
/ui5-best-practices-accessibilityThis skill should be used when the user asks to audit, fix, check, review, or
improve accessibility, a11y, ARIA, WCAG compliance, landmarks, labeling, heading
levels, focus handling, keyboard navigation, keyboard shortcuts, screen reader
support, invisible messaging, reading order, or touch / target size in UI5
application files (views, fragments, controllers). Also use when the user
creates a new UI5 view, fragment, or controller and wants it to be accessible,
or asks whether a specific control (Dialog, Table, Panel, etc.) meets
accessibility requirements.
Keywords: accessibility, a11y, ARIA, WCAG, screen reader, NVDA, JAWS, VoiceOver,
landmark, landmarkInfo, accessibleRole, ariaLabelledBy, ariaDescribedBy,
labelFor, tooltip, alt text, decorative, heading level, initialFocus, F6,
fast nav, fastnavgroup, tabindex, CommandExecution, keyboard shortcut,
InvisibleMessage, announce, reading order, reactiveAreaMode, target size.
/ui5-best-practices-integration-cardsMUST be loaded before any UI Integration Cards (also called UI5 Integration Cards) task — creating, modifying, validating, previewing, or reviewing a card, its `manifest.json`, its Configuration Editor (`dt/Configuration.js`), or any analytical chart configuration. Provides the official guidelines, validation rules, supported chart types, and Configuration Editor patterns./ui5-best-practices-mdcUI5 MDC (sap.ui.mdc) best practices for OData V4 delegate-based controls. Use when creating/troubleshooting MDC FilterBar, Chart, Field, FilterField, ValueHelp, Link, MultiValueField, or Table. Covers delegate pattern, fetchProperties, PropertyInfo, p13nMode, updateBindingInfo, Condition.createCondition, and common errors (delegate not loaded, chart no data, fields not appearing). Also applies to JSON model (non-OData) MDC usage.
Triggers: "MDC", "sap.ui.mdc", "delegate pattern", "fetchProperties", "PropertyInfo", "MDC personalization", "p13nMode", "MDC field not rendering", "MDC chart not binding", "MDC conditions", OData V4 freestyle with model-driven controls.
Keywords: sap.ui.mdc, FilterBar, Chart, Field, FilterField, ValueHelp, Link, MultiValueField, delegate, fetchProperties, updateBindingInfo, PropertyInfo, OData V4, JSON model, TypeMap, p13nMode, conditions, FilterBarDelegate, ChartDelegate, ValueHelpDelegate, LinkDelegate, Condition.createCondition
/ui5-best-practices-opa5This skill should be used in any OPA5 task - creating, modifying, extending, debugging, fixing or reviewing an integration test. Use when the user asks to "write an OPA5 test", "add an OPA5 journey", "fix the OPA5 test failure" or mentions OPA5 or its components - opaTest, page object, journey, waitFor./ui5-best-practices-qunitUse when the user asks to "write a QUnit test", "fix a failing QUnit test", "add a QUnit module", "modernize QUnit tests", "migrate from QUnit 1", or mentions QUnit-specific constructs such as assert.async, nextUIUpdate, Core.applyChanges, sinon sandbox, asyncTest, or QUnit.module. Covers coding standards for OpenUI5/SAPUI5 unit test files: const/let over var, arrow functions over .bind(this), async/await over assert.async(), assert.expect() in every async test, sinon.createSandbox(), descriptive test names, beforeEach/afterEach module isolation, nextUIUpdate vs Core.applyChanges rules, try/finally teardown in helpers, QUnit 1 to QUnit 2 globals migration, and non-ASCII character avoidance.
Other plugins' skills for the same job
/ui5-ui5-plugins-ui5:ui5-best-practices-tablesfrom ui5
Generated from the plugin's indexed repository (ui5/plugins-coding-agents) — no native marketplace selected
npx claudepluginhub p/ui5-ui5-plugins-ui5