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



408
409
410
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 408

def dataRows(value)
  json.dataRows value
end

#viewCells(values) ⇒ Object

Experimental panels_builder :accessory, :header, :footer



400
401
402
403
404
405
406
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 400

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

#viewRows(value) ⇒ Object



412
413
414
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 412

def viewRows(value)
  json.viewRows value
end