Class: EffectiveStyleGuideDatatable
- Inherits:
-
Effective::Datatable
- Object
- Effective::Datatable
- EffectiveStyleGuideDatatable
- Defined in:
- app/datatables/effective_style_guide_datatable.rb
Constant Summary
Constants included from Effective::EffectiveDatatable::Resource
Effective::EffectiveDatatable::Resource::AGGREGATE_SQL_FUNCTIONS
Constants included from Effective::EffectiveDatatable::Format
Effective::EffectiveDatatable::Format::BLANK, Effective::EffectiveDatatable::Format::NONVISIBLE, Effective::EffectiveDatatable::Format::SPACER, Effective::EffectiveDatatable::Format::SPACER_TEMPLATE
Constants included from Effective::EffectiveDatatable::Cookie
Effective::EffectiveDatatable::Cookie::MAX_COOKIE_SIZE
Constants included from Effective::EffectiveDatatable::Compute
Effective::EffectiveDatatable::Compute::BLANK
Instance Attribute Summary
Attributes inherited from Effective::Datatable
#_aggregates, #_bulk_actions, #_charts, #_collection, #_columns, #_filters, #_form, #_scopes, #attributes, #resource, #state, #view
Instance Method Summary collapse
-
#collection_class ⇒ Object
Set the permission check to the same as Effective::StyleGuide.
Methods inherited from Effective::Datatable
#_filters_form_required?, #blank?, #collection, #columns, #dsl_tool, #html_class, #initialize, #inline?, #present?, #reorder?, #sortable?, #to_json, #to_param
Methods included from Effective::EffectiveDatatable::Dsl
#bulk_actions, #charts, #collection, #datatable, #filters
Methods included from Effective::EffectiveDatatable::State
#display_length, #display_start, #filter, #offset, #order_direction, #order_index, #order_name, #page, #per_page, #scope, #search
Methods included from Effective::EffectiveDatatable::Resource
#admin_namespace?, #controller_namespace
Methods included from Effective::EffectiveDatatable::Hooks
Methods included from Effective::EffectiveDatatable::Cookie
#cookie, #cookie_key, #cookie_keys, #cookie_param
Methods included from Effective::EffectiveDatatable::Collection
#active_record_collection?, #array_collection?
Constructor Details
This class inherits a constructor from Effective::Datatable
Instance Method Details
#collection_class ⇒ Object
Set the permission check to the same as Effective::StyleGuide
15 16 17 |
# File 'app/datatables/effective_style_guide_datatable.rb', line 15 def collection_class defined?(Effective::StyleGuide) ? Effective::StyleGuide : super end |