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



508
509
510
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 508

def dataRows(value)
  json.dataRows value
end

#viewCells(values) ⇒ Object

Experimental panels_builder :accessory, :header, :footer



500
501
502
503
504
505
506
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 500

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

#viewRows(value) ⇒ Object



512
513
514
# File 'app/helpers/glib/json_ui/view_builder/panels.rb', line 512

def viewRows(value)
  json.viewRows value
end