Navigation
This documentation refers to the MongoDB Charts service in MongoDB Atlas. Read the on-premises documentation to learn how to use the MongoDB Charts on site.

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.