Skip to content

Instantly share code, notes, and snippets.



Last active Dec 17, 2015
What would you like to do?
# def configure(c)
c.columns = [
# Needs to have type :action or else won't work in grid, because... netzke modifies the xtype otherwise
# This means you have to define it again in default_fields_for_forms
{ :name => "color", :text => "Boss Color", :type => :action, :editor => { :xtype => "xcolorcombo"}, :renderer => :color_block}
# def default_fields_for_forms
{ :name => "color", :xtype => "xcolorcombo"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment