Data Grid Column Position

<sw-data-grid-column-position>

ready
The sw-data-grid-column-position is a sw-data-grid element to be slotted into a column slot like #column-position.

Usage

Loading...
 <template #column-position="{ item }">
     <sw-data-grid-column-position
         v-model="collection"
         :item="item"
         field="myPositionProperty"
         :disabled="!!term">
     </sw-data-grid-column-position>
 </template>

Component properties

Property name Type Default
value Array
item Object
field String position
showValue Boolean false
disabled Boolean false

Methods

Method name Parameters
onLowerPositionValue No parameters
onRaisePositionValue No parameters

Imports

  • ./sw-data-grid-column-position.html.twig
  • ./sw-data-grid-column-position.scss

Mixins

  • position

Twig blocks

  • sw_data_grid_column_position_value
  • sw_data_grid_column_position_button_up_content
  • sw_data_grid_column_position_button_up
  • sw_data_grid_column_position_button_down_content
  • sw_data_grid_column_position_button_down
  • sw_data_grid_column_position_button_group
  • sw_data_grid_column_position