Help us improve
Share bugs, ideas, or general feedback.
From orocommerce-skills
Use when creating new OroCommerce v6.1 datagrids, adding columns to existing grids, configuring filters, sorters, actions, mass actions, inline editing, or extending core grids (like product-grid, order-grid, customer-grid). Relevant when the user mentions 'create a grid', 'add column', 'grid filter', 'datagrid', 'data table', 'list view', or grid customization in OroCommerce.
npx claudepluginhub netresearch/claude-code-marketplace --plugin orocommerceHow this skill is triggered — by the user, by Claude, or both
Slash command
/orocommerce-skills:oro-datagridThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Datagrids live in `Resources/config/oro/datagrids.yml` within your bundle. Bundle auto-discovery loads these on kernel compilation.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Datagrids live in Resources/config/oro/datagrids.yml within your bundle. Bundle auto-discovery loads these on kernel compilation.
datagrids:
my_grid:
source:
type: orm
query:
select: [d]
from: [{ table: Acme\Bundle\DemoBundle\Entity\Document, alias: d }]
columns:
id:
label: ID
subject:
label: Subject
filters:
columns:
subject:
type: string
data_name: d.subject
sorters:
columns:
id:
data_name: d.id
default:
id: DESC
actions:
view:
type: navigate
label: View
icon: eye
link: acme_demo_document_view
rowAction: true
Every grid needs: source (ORM query), columns (display), filters (with data_name), sorters (with data_name), and actions.
Most common: string, integer, boolean, datetime, currency (requires currency_code option). See references/column-types.md for the full list.
Never modify core grid YAMLs. Use a BuildBefore event listener to add columns, filters, or modify config programmatically. For related entity data, use onResultAfter to attach data post-fetch instead of adding JOINs.
See references/datagrid-patterns.md for full listener examples (onBuildBefore, onResultAfter), service registration, join patterns, mass actions, and inline editing configuration.
data_name mismatch — If sorters/filters use data_name: d.subject but the query doesn't have alias d, sorting fails silently. Always verify alias consistency.data_name — Renders in the UI but produces no WHERE clause. Users see the filter but it does nothing.acl_resource on mass_actions AND entity-level ACL must pass. Define the resource in acl.yml.Datagrids are compiled into the DIC. After YAML changes: php bin/console cache:clear.
references/column-types.md — Full column & filter type referencereferences/datagrid-patterns.md — Inline editing, mass actions, listener examples, join patterns, additional pitfallsreferences/v6.1.md — v6.1 specifics, backward compatibility, and troubleshootingreferences/v7.0.md — v7.0 changes (placeholder)