Method: Formotion::Form#reload_data

Defined in:
lib/formotion/form/form_delegate.rb

#reload_dataObject



34
35
36
37
38
39
40
41
42
43
# File 'lib/formotion/form/form_delegate.rb', line 34

def reload_data
  previous_row, next_row = nil

  last_row = self.sections[-1] && self.sections[-1].rows[-1]
  if last_row && last_row.type != :text
    last_row.return_key ||= UIReturnKeyDone
  end

  @table.reloadData
end