Module: Edgarj::Drawer::ColumnInfo

Defined in:
app/helpers/edgarj/drawer/base.rb

Overview

Column-info classes to provide the following common methods:

  • label - for column header label in the list

  • sort_key - to sort list

  • column_value - cell text for the column in the list

  • field - for the form

and the following optional methods:

  • tag_options

  • column_header_label

as wells as the following for backward compatibility:

  • name

  • type

NOTE: ColumnInfo::* classes instances are cached during server process lifetime so that dynamic object (like drawer) cannot be stored.

Defined Under Namespace

Classes: Base, BelongsTo, Normal