Class: EffectiveStyleGuideDatatable

Inherits:
Effective::Datatable show all
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::Compute

Effective::EffectiveDatatable::Compute::BLANK

Instance Attribute Summary

Attributes inherited from Effective::Datatable

#_aggregates, #_bulk_actions, #_charts, #_collection, #_collection_apply_belongs_to, #_collection_apply_scope, #_columns, #_filters, #_form, #_scopes, #attributes, #effective_resource, #state, #view

Instance Method Summary collapse

Methods inherited from Effective::Datatable

#_filters_form_required?, #blank?, #collection, #columns, #default_visibility, #dsl_tool, #fallback_effective_resource, #html_class, #initialize, #inline?, #present?, #rendered, #reorder?, #resource, #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?, #association_macros, #controller_namespace

Methods included from Effective::EffectiveDatatable::Hooks

#finalize

Methods included from Effective::EffectiveDatatable::Cookie

#cookie

Methods included from Effective::EffectiveDatatable::Collection

#active_record_array_collection?, #active_record_collection?, #active_record_polymorphic_array_collection?, #array_collection?

Constructor Details

This class inherits a constructor from Effective::Datatable

Instance Method Details

#collection_classObject

Set the permission check to the same as Effective::StyleGuide



13
14
15
# File 'app/datatables/effective_style_guide_datatable.rb', line 13

def collection_class
  defined?(Effective::StyleGuide) ? Effective::StyleGuide : super
end