Skip to content

Adding columns to sales order grid AJAX call #1650

@kassner

Description

@kassner

Hi,

Since 1.0.0-beta the Sales Order Grid retrieves all data using an AJAX call and renders the columns and rows using Javascript only. To gather the data to assemble the grid, a call to /backend/mui/render/index is made.

With some inspection, I found out that the AJAX result is based on the sales_order_grid table, all columns from this table are retrieved. The confusing part is this piece of code, that looks like the configuration for the dataset, but can be removed and the grid keeps working (didn't checked the frontend).

That piece of code is used somewhere else? Can't I add a join to sales_order_grid? Is there a way (observer) to intercept this dataset?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions