Skip to content

Instantly share code, notes, and snippets.

View webhoernchen's full-sized avatar

Christian Eichhorn webhoernchen

View GitHub Profile
module Netzke
class UserGrid < Basepack::GridPanel
def default_config
config = super
config.merge({
:model => 'User',
:columns => [:first_name, :name, :email, :login,
{:name => :salutation, :editor => { :xtype => "combo", :store => [['mr', 'Herr'], ['mrs', 'Frau']] }},
:title, :confirmed_at, :locked_at]
})