Sha256: b615bd7c4635f6ca1e242119b0fb3213d65ed58e331fe2b0915751ac9186f5a7

Contents?: true

Size: 338 Bytes

Versions: 11

Compression:

Stored size: 338 Bytes

Contents

module Spider; module Components
    
    module ExportableList
        include Spider::WidgetPlugin
        plugin_for List, 'exportable'
        
        __.action
        def export_to_csv
            @queryset.each do |row|
                $out << row.to_s+"\n"
            end
        end
        
        
    end
    
    
end; end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spiderfw-1.0.1 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb
spiderfw-1.0.0 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb
spiderfw-0.6.39 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb
spiderfw-0.6.38 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb
spiderfw-0.6.37 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb
spiderfw-0.6.35 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb
spiderfw-0.6.34 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb
spiderfw-0.6.33 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb
spiderfw-0.6.32 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb
spiderfw-0.6.31 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb
spiderfw-0.6.30 apps/core/components/widgets/list/plugins/exportable/exportable_list.rb