Class: Marty::GridAppendOnly

Inherits:
McflyGridPanel show all
Defined in:
app/components/marty/grid_append_only.rb

Constant Summary

Constants included from Permissions

Permissions::NETZKE_ENDPOINTS

Instance Method Summary collapse

Methods inherited from McflyGridPanel

#augment_attribute_config, #get_records

Methods inherited from Grid

#child_components, #class_can?, #configure_form_window, #get_json_sorter, #has_search_action?, #initialize, #linked_components

Methods included from Permissions

#can_call_endpoint?, #can_perform_action?, #can_perform_actions, #current_user_roles, extended, #has_any_perm?, #has_marty_permissions, #has_perm?

Constructor Details

This class inherits a constructor from Marty::Grid

Instance Method Details

#configure(c) ⇒ Object



2
3
4
5
6
7
8
# File 'app/components/marty/grid_append_only.rb', line 2

def configure(c)
  super

  c.paging                 = :pagination
  c.editing                = :in_form
  c.permissions[:update]   = false
end