bf9ad6b118a4da731ed00a4633df7d45c03dac93
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Collection / Grid.pm
1 package Reaction::UI::Widget::Collection::Grid;
2
3 use Reaction::UI::WidgetClass;
4
5 class Grid is 'Reaction::UI::Widget::Collection', which {
6
7   implements fragment header_cells {
8     arg 'labels' => $_{viewport}->field_labels;
9     render header_cell => over $_{viewport}->computed_field_order;
10   };
11
12   implements fragment header_cell {
13     arg label => $_{labels}->{$_};
14   };
15
16 };
17
18 1;