Navigation
This documentation refers to the on-premises edition of MongoDB Charts. Read the Atlas service documentation to learn how to use MongoDB Charts with your Atlas project.

Reorder Data Table Columns

Users with the author and owner roles on data tables can reorder data table columns in the Chart Builder.

Behavior

When a user reorders data table columns and saves the chart, MongoDB Charts saves the specified order as part of the chart definition. All Charts users will see the new column order.

Procedure

To reorder data table columns, click and drag column headers to the desired order.

Note

Data table authors and owners can also reorder columns by modifying the order of the respective column encoding channels. MongoDB Charts renders data table columns in the same order you specify the column encoding channels. To modify the order of the encoding channels, drag and drop one field on top of another to swap their order.

Considerations

  • You can only reorder columns within their respective table sections, being Groups or Values.
  • You cannot reorder Dynamic Columns.