Class: Avo::RowSelectorComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/avo/row_selector_component.rb

Instance Method Summary collapse

Instance Method Details

#data_actionObject



8
9
10
11
12
13
14
15
16
# File 'app/components/avo/row_selector_component.rb', line 8

def data_action
  data = "input->item-selector#toggle input->item-select-all#selectRow"

  if Avo.plugin_manager.installed?("avo-pro")
    data += " click->record-selector#toggleMultiple"
  end

  data
end