Options
All
  • Public
  • Public/Protected
  • All
Menu

A partner drags a column header and drops it in a new position in the inventory table. Fires once per completed drop (not per drag-over). The new order is persisted to localStorage, keyed per browser/device.

This schema describes events sent to Segment from OsReorderedInventoryTableColumns

example
{
  action: "reorderedInventoryTableColumns",
  context_module: "artworkTable",
  context_page_owner_type: "inventory",
  column: "price",
  from_index: 4,
  to_index: 1,
  new_order: ["title", "price", "artist", "medium", "dimensions"]
}

Hierarchy

  • OsReorderedInventoryTableColumns

Index

Properties

action

action: reorderedInventoryTableColumns

column

column: string

The key of the column that was dragged

context_module

context_module: artworkTable

context_page_owner_type

context_page_owner_type: OsOwnerType

from_index

from_index: number

0-based position among reorderable (non-pinned) columns before the move

new_order

new_order: string[]

Full resulting column key order (reorderable columns only, pinned columns excluded)

to_index

to_index: number

0-based position among reorderable (non-pinned) columns after the move

Generated using TypeDoc