Class: RGhost::Grid::Style::OldForms
- Inherits:
-
Object
- Object
- RGhost::Grid::Style::OldForms
- Defined in:
- lib/rghost/grid/style/old_forms.rb
Instance Method Summary collapse
Instance Method Details
#set_style(grid) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/rghost/grid/style/old_forms.rb', line 5 def set_style(grid) size=grid.header.size grid.odd_row do background_row(:size => size) end grid.header.before_create do line_width(0) background_row(:size => size, :color => RGhost::ShapeContent::DEFAULT_OPTIONS[:color] ) use_tag :bold end grid.header.after_create { use_tag :normal } end |