Class: JqGridRails::Helper

Inherits:
Object
  • Object
show all
Includes:
ActionView::Helpers::JavaScriptHelper, Helpers
Defined in:
lib/jqgrid_rails/jqgrid_rails_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

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