Method: BaseList#row2hash

Defined in:
lib/cuca/stdlib/listwidget/list.rb

#row2hash(row) ⇒ Object



23
24
25
26
27
28
29
30
# File 'lib/cuca/stdlib/listwidget/list.rb', line 23

def row2hash(row)
   res = {}
   c = columns
   c.each_index do |idx|
     res[c[idx][:id]] = row[idx]
   end
   res
end