pluginaweek / table_helper Goto Github PK
View Code? Open in Web Editor NEWAdds a helper method for generating HTML tables from collections
Home Page: http://www.pluginaweek.org
License: MIT License
Adds a helper method for generating HTML tables from collections
Home Page: http://www.pluginaweek.org
License: MIT License
closer opened this issue
Hello,
I want to insert paging in TFOOT tag. Now I using following code:
@@@
footer.cell ’paging’, "
but I think that it is not good style.
How about create additional property ’content’ and use this way:
@@@
footer.content = "
ant that code will generate following markup:
@@@
...
Or may be you known other way?
Thanks
This ticket has 0 attachment(s).
closer opened this issue
Hello,
I see error message "uninitialized constant TableHelper::BlankSlate" in Rails 3 Beta3 environment. In Rails 3 the "builder" plug-in was moved from "activesupport" to separated gem therefore need to include it to "row.rb" file.
@@@
require ’table_helper/cell’
if Rails::VERSION::MAJOR >= 3
require ’builder’
end
module TableHelper
...
@@@
This ticket has 0 attachment(s).
closer opened this issue
Hello,
I catched following exception:
@@@
/Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/body_row.rb:30:in send’ /Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/body_row.rb:30:in
initialize’
/Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/body_row.rb:28:in each’ /Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/body_row.rb:28:in
initialize’
/Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/body.rb:92:in new’ /Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/body.rb:92:in
build_row’
/Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/body.rb:81:in build’ /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:1907:in
each_with_index’
/Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/body.rb:80:in each’ /Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/body.rb:80:in
each_with_index’
/Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/body.rb:80:in build’ /Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper/collection_table.rb:41:in
build’
/Users/closer/Projects/test_table_helper/vendor/plugins/table_helper/lib/table_helper.rb:173:in collection_table’ ./test/unit/post_test.rb:12:in
test_wrong_annotation_column’
/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/testing/setup_and_teardown.rb:60:in __send__’ /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/testing/setup_and_teardown.rb:60:in
run’
@@@
because I excluded ’annotation’ column from SQL query.
You can reproduce error using attached file (run one unit-test).
Can you fix it?
Thanks
P.S.
ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
Rails 2.2.2
MAC OS 1.5.4
This ticket has 1 attachment(s).
Hi,
I am encountering this issue with Rails 4. the Rails 3 solution didn't work, and I have also installed the Blank Slate gem
closer opened this issue
Hello,
If a table is empty then "class" attributes for cells haven’t namespace perfixs and browser can’t apply CSS styles for these cells.
I see to ways how to fix it problem:
I think the second way is better because if I set empty default namespace I can remove namespace from "class" attributes.
Can you implement it?
This ticket has 0 attachment(s).
closer opened this issue
Hello,
For example for table "project" with field "created_at" will be generated the following CSS selector "project-created_at". I think that selector "project-created-at" (underline replaced to minus) see more pretty.
Can you fix it?
Thanks
This ticket has 0 attachment(s).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.