Class: RailsAdmin::Config::Sections::List

Inherits:
Base
  • Object
show all
Defined in:
lib/rails_admin/config/sections/list.rb

Overview

Configuration of the list view

Constant Summary

Constants inherited from Base

Base::NAMED_INSTANCE_VARIABLES

Instance Attribute Summary

Attributes inherited from Base

#abstract_model, #parent, #root

Attributes included from HasDescription

#description

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from HasDescription

#desc

Methods included from HasGroups

#group, #visible_groups

Methods included from HasFields

#all_fields, #configure, #exclude_fields, #field, #fields, #fields_of_type, #include_all_fields, #include_fields, #possible_fields, #visible_fields

Methods included from Inspectable

#inspect

Methods included from Configurable

#has_option?, included, #register_deprecated_instance_option, #register_instance_option

Methods included from Proxyable

#bindings, #bindings=, #with

Constructor Details

This class inherits a constructor from RailsAdmin::Config::Sections::Base

Instance Method Details

#fields_for_tableObject



53
54
55
# File 'lib/rails_admin/config/sections/list.rb', line 53

def fields_for_table
  visible_fields.partition(&:sticky?).flatten
end