WarUI

Export column selection and ordering

GRID-A20-F04P1baselinePlanned

Lets callers or end users choose which columns to export and in what order, independent of the on-screen layout. Optionally includes hidden columns and excludes utility columns such as checkboxes and action buttons.

Planned. This page shows the specification from issue #200. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Grid with 10 columns, including a selection checkbox column, an actions column and 2 hidden columns.

Expected behavior

The exported header row matches the checked columns in list order. Utility columns are never exported.

Planned API surface

exportOptions.columnsexportOptions.includeHiddenColumnscolumn.exportablecolumn.exportOrder

Acceptance criteria

  • exportOptions.columns (an array of column ids) defines both the set and the order of exported columns. (pending)
  • Unknown column ids raise a validation error listing the invalid ids. (pending)
  • includeHiddenColumns:true adds hidden columns in their definition order when columns is unset. (pending)
  • Selection, drag-handle and action columns default to exportable:false. (pending)