Class: JqGridRails::Helper
- Inherits:
-
Object
- Object
- JqGridRails::Helper
- Includes:
- ActionView::Helpers::JavaScriptHelper, Helpers
- Defined in:
- lib/jqgrid_rails/jqgrid_rails_helper.rb
Instance Attribute Summary collapse
-
#table_id ⇒ Object
Returns the value of attribute table_id.
Instance Method Summary collapse
-
#initialize(dom_id) ⇒ Helper
constructor
A new instance of Helper.
Methods included from Helpers
#build_default_callback, #build_selection_callback, #build_single_callback, #build_toolbar_button, #confirm_if_required, #convert_dom_id, #csrf_token_discovery, #extract_callback_variables, #hash_to_callback, #map_click, #scrub_options_hash, #selection_array
Constructor Details
#initialize(dom_id) ⇒ Helper
Returns a new instance of Helper.
8 9 10 |
# File 'lib/jqgrid_rails/jqgrid_rails_helper.rb', line 8 def initialize(dom_id) @table_id = dom_id end |
Instance Attribute Details
#table_id ⇒ Object
Returns the value of attribute table_id.
7 8 9 |
# File 'lib/jqgrid_rails/jqgrid_rails_helper.rb', line 7 def table_id @table_id end |