lib/datagrid/columns.rb
# Returns a list of columns defined.
# You can limit the output with only columns you need like:
#
#   grid.columns(:id, :name)
#
# Supported options:
# * :data - if true returns only non-html columns. Default: false.
Returns a list of columns defined.
You can limit the output with only columns you need like.



Supported options:
:data - if true returns only non-html columns. Default: false.
Returns a list of columns defined . You can limit the output with only columns you need like . Supported options : : data - if true returns only non - html columns . Default : false .
def column_by_name(name)
        self.columns.find do |col|
          col.name.to_sym == name.to_sym
        end
      end
def column_by_name ( name ) self . columns . find do | col | col . name . to_sym == name . to_sym end end
Returns a list of columns defined.
Returns a list of columns defined .
name
<not_specific>