Sha256: 94d291cd0e7b193c1b2b45233420fc943b62ef71e4d9011aac961718887d3601
Contents?: true
Size: 549 Bytes
Versions: 2
Compression:
Stored size: 549 Bytes
Contents
module ActiveAdmin module Axlsx module DSL # Configure the xlsx format # # For example: # # xlsx do # i18n_scope = [:active_admin, :resources, :post] # column :name # column(:author) { |post| post.author.full_name } # end # # xlsx :header_style => { :bg_color => "00", :fg_color => "FF" } do # column :name # end def xlsx(options={}, &block) config.xlsx_builder = XlsxBuilder.new(options, &block) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-axlsx-1.0.0 | lib/active_admin/axlsx/dsl.rb |
activeadmin-axlsx-1.0.0a | lib/active_admin/axlsx/dsl.rb |