Method: Marty::Grid#initialize

Defined in:
app/components/marty/grid.rb

#initialize(args, kwargs = nil) ⇒ Grid

parent grid is the grid in which child/linked_components is defined child components are components dependent on the selected parent row linked components will update whenever the parent is updated



9
10
11
12
13
# File 'app/components/marty/grid.rb', line 9

def initialize args, kwargs = nil
  super(args, kwargs)
  client_config[:child_components]  = child_components  || []
  client_config[:linked_components] = linked_components || []
end