Class: ODDB::View::Migel::GroupComposite

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/migel/group.rb

Constant Summary

CSS_CLASS =
'composite'
COMPONENTS =
{
  [0,0] =>  'migel_product',
  [0,1] =>  GroupInnerComposite,
  [0,2] =>  :subgroups,
}
CSS_MAP =
{
  [0,0] =>  'th',
  [0,2] =>  'list',
}
DEFAULT_CLASS =
HtmlGrid::Value
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) subgroups(model)



70
71
72
73
74
75
# File 'src/view/migel/group.rb', line 70

def subgroups(model)
  sub = model.subgroups.values
  if(!sub.empty?)
    SubgroupList.new(sub, @session, self)
  end
end