Module: Netzke::Basepack::FormPanel::Fields::ClassMethods

Defined in:
lib/netzke/basepack/form_panel/fields.rb

Instance Method Summary collapse

Instance Method Details

#meta_columnsObject

Columns to be displayed by the FieldConfigurator, “meta-columns”. Each corresponds to a configuration option for each field in the form.



63
64
65
66
67
68
69
70
# File 'lib/netzke/basepack/form_panel/fields.rb', line 63

def meta_columns
  [
    {:name => "included", :attr_type => :boolean, :width => 40, :header => "Incl", :default_value => true},
    {:name => "name", :attr_type => :string, :editor => :netzkeremotecombo, :width => 200},
    {:name => "label", :attr_type => :string, :header => "Label"},
    {:name => "default_value", :attr_type => :string}
  ]
end