Class: Wice::Columns::ViewColumnDate
- Inherits:
-
ViewColumnDatetime
- Object
- ViewColumn
- ViewColumnDatetime
- Wice::Columns::ViewColumnDate
- Defined in:
- lib/wice/columns/column_date.rb
Overview
:nodoc:
Constant Summary collapse
- @@datetime_chunk_names =
%w(year month day)
Constants inherited from ViewColumn
Wice::Columns::ViewColumn::FIELDS
Instance Attribute Summary
Attributes inherited from ViewColumn
#cell_rendering_block, #contains_a_text_input, #custom_filter, #grid, #main_table, #model, #table_name
Instance Method Summary collapse
Methods inherited from ViewColumnDatetime
#has_auto_reloading_calendar?, #name_and_id_from_options, #prepare_for_calendar_filter, #prepare_for_standard_filter, #render_calendar_filter_internal, #render_filter_internal, #yield_declaration_of_column_filter
Methods included from JsCalendarHelpers
#date_calendar_jquery, #prepare_data_for_calendar
Methods inherited from ViewColumn
#add_css_class, #attribute_name_fully_qualified_for_all_but_main_table_columns, #auto_reloading_input_with_negation_checkbox?, #capable_of_hosting_filter_related_icons?, #config, #controller, #css_class, #detachness, #filter_shown?, #filter_shown_in_main_table?, #form_parameter_name_id_and_query, #fully_qualified_attribute_name, #has_auto_reloading_calendar?, #has_auto_reloading_input?, #has_auto_reloading_select?, #initialize, #render_filter, #render_filter_internal, #table_alias_or_table_name, #yield_declaration, #yield_declaration_of_column_filter
Constructor Details
This class inherits a constructor from Wice::Columns::ViewColumn
Instance Method Details
#render_standard_filter_internal(params) ⇒ Object
:nodoc:
10 11 12 13 14 15 |
# File 'lib/wice/columns/column_date.rb', line 10 def render_standard_filter_internal(params) #:nodoc: '<div class="date-filter">' + select_date(params[:fr], {:include_blank => true, :prefix => @name1, :id => @dom_id}) + '<br/>' + select_date(params[:to], {:include_blank => true, :prefix => @name2, :id => @dom_id2}) + '</div>' end |