class ExtGridcolumn

Public Class Methods

new(config, parent) click to toggle source
Calls superclass method ExtNode::new
# File lib/extclasses/gridcolumn.rb, line 7
def initialize(config, parent)
  @default_config = {}

  super "gridcolumn", config, parent
end

Public Instance Methods

to_extjs(at_deep = 0) click to toggle source
Calls superclass method ExtNode#to_extjs
# File lib/extclasses/gridcolumn.rb, line 13
def to_extjs(at_deep = 0)
  if self.child_of? "editorgrid" and @config[:editor].nil?
    @config.merge! :editor => { :xtype => "textfield" }
  end
  super at_deep 
end