Class: Glib::JsonUi::ViewBuilder::Panels::BulkEdit2

Inherits:
View show all
Defined in:
app/helpers/glib/json_ui/view_builder/panels.rb

Instance Attribute Summary

Attributes inherited from JsonUiElement

#json, #page

Instance Method Summary collapse

Methods inherited from View

component_name

Methods inherited from JsonUiElement

#initialize, #props

Constructor Details

This class inherits a constructor from Glib::JsonUi::JsonUiElement

Instance Method Details

#dataRows(value) ⇒ Object



392
393
394
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 392

def dataRows(value)
  json.dataRows value
end

#viewCells(values) ⇒ Object



384
385
386
387
388
389
390
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 384

def viewCells(values)
  json.set! 'viewCells' do
    values.each do |value|
      value.call(page.view_builder)
    end
  end
end

#viewRows(value) ⇒ Object



396
397
398
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 396

def viewRows(value)
  json.viewRows value
end