Class: Effective::Datatable
- Inherits:
-
Object
- Object
- Effective::Datatable
- Extended by:
- EffectiveDatatable::Dsl
- Includes:
- EffectiveDatatable::Attributes, EffectiveDatatable::Collection, EffectiveDatatable::Compute, EffectiveDatatable::Cookie, EffectiveDatatable::Csv, EffectiveDatatable::Format, EffectiveDatatable::Hooks, EffectiveDatatable::Params, EffectiveDatatable::Resource, EffectiveDatatable::State
- Defined in:
- app/models/effective/datatable.rb
Constant Summary
Constants included from EffectiveDatatable::Resource
EffectiveDatatable::Resource::AGGREGATE_SQL_FUNCTIONS
Constants included from EffectiveDatatable::Format
EffectiveDatatable::Format::BLANK, EffectiveDatatable::Format::NONVISIBLE, EffectiveDatatable::Format::SPACER, EffectiveDatatable::Format::SPACER_TEMPLATE
Constants included from EffectiveDatatable::Compute
EffectiveDatatable::Compute::BLANK
Instance Attribute Summary collapse
-
#_aggregates ⇒ Object
readonly
Hashes of DSL options.
-
#_bulk_actions ⇒ Object
readonly
Returns the value of attribute _bulk_actions.
-
#_charts ⇒ Object
readonly
Returns the value of attribute _charts.
-
#_collection ⇒ Object
The collection itself.
-
#_collection_apply_belongs_to ⇒ Object
Returns the value of attribute _collection_apply_belongs_to.
-
#_collection_apply_scope ⇒ Object
Returns the value of attribute _collection_apply_scope.
-
#_columns ⇒ Object
readonly
Returns the value of attribute _columns.
-
#_filters ⇒ Object
readonly
Returns the value of attribute _filters.
-
#_form ⇒ Object
readonly
Returns the value of attribute _form.
-
#_scopes ⇒ Object
readonly
Returns the value of attribute _scopes.
-
#attributes ⇒ Object
readonly
Anything that we initialize our table with.
-
#csv ⇒ Object
Set to true when CSV download.
-
#effective_resource ⇒ Object
Returns the value of attribute effective_resource.
-
#source_location ⇒ Object
Set by DSL so we can track where this datatable is coming from.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#view ⇒ Object
The view.
Class Method Summary collapse
-
.datatable_name ⇒ Object
Checks en.datatables.admin/my_datatable.
Instance Method Summary collapse
-
#_filters_form_required? ⇒ Boolean
Whether the filters must be rendered as a