Last active
December 17, 2015 18:39
-
-
Save spacemunkay/5655153 to your computer and use it in GitHub Desktop.
app/components/bosses.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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