Get the columns in their current display order.
This returns an array of columns sorted according to any reordering that has been applied via the ColumnReordering plugin. If no reordering has been applied, columns are returned in their original order.
import { orderedColumnsFor } from '@universal-ember/table/plugins/column-reordering';const columns = orderedColumnsFor(table);// Use the ordered columns for rendering or other operations Copy
import { orderedColumnsFor } from '@universal-ember/table/plugins/column-reordering';const columns = orderedColumnsFor(table);// Use the ordered columns for rendering or other operations
The table instance to get ordered columns from
Array of columns in their current display order
Get the columns in their current display order.
This returns an array of columns sorted according to any reordering that has been applied via the ColumnReordering plugin. If no reordering has been applied, columns are returned in their original order.
Example