Module: RailsTables::Sorting::ClassMethods
- Defined in:
- lib/rails-tables/datatable/sorting.rb
Instance Method Summary collapse
-
#initial_ordering(orderings) ⇒ Object
Gotta set these to fight against datatables’ default ordering on first column.
Instance Method Details
#initial_ordering(orderings) ⇒ Object
Gotta set these to fight against datatables’ default ordering on first column
11 12 13 |
# File 'lib/rails-tables/datatable/sorting.rb', line 11 def initial_ordering(orderings) self.initial_order = orderings end |