【文件属性】:
文件名称:table_go:简单、灵活、快速的 html 表格生成器
文件大小:18KB
文件格式:ZIP
更新时间:2021-06-08 11:26:17
Ruby
桌游
简单、灵活、快速的 html 表格生成器
安装
将此行添加到应用程序的 Gemfile 中:
gem 'table_go'
然后执行:
$ bundle
或者自己安装:
$ gem install table_go
用法
HAML 中的示例(或更多此处: : )
= table_go_for @orders, Order, :title => 'one Table',
:table_html => { :id => :the_table },
:row_html => { :class => lambda { cycle('even', 'odd') },
:id => lambda { |record| dom_id(record, :special) }} do |t|
- t.column :
【文件预览】:
table_go-master
----table_go.gemspec(939B)
----lib()
--------table_go()
--------table_go.rb(1KB)
----Gemfile(181B)
----spec()
--------table_go()
--------fixtures()
--------spec_helper.rb(785B)
----Rakefile(48B)
----LICENSE(1KB)
----README.md(3KB)
----.rspec(30B)
----Gemfile.lock(2KB)
----.gitignore(161B)