Class: Avo::RowSelectorComponent

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

Constant Summary

Constants included from Concerns::FindAssociationField

Concerns::FindAssociationField::ASSOCIATIONS

Instance Method Summary collapse

Methods inherited from BaseComponent

#has_with_trial

Methods included from Concerns::FindAssociationField

#find_association_field

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