Anonymous avatar Anonymous committed 1e3d0b6

Docs.

Comments (0)

Files changed (1)

webhelpers/html/grid.py

-"""A helper to make HTML tables.
-
-**This module is experimental. API changes are expected in the next version.
-If your application depends on the current API, please copy the module into
-your application.**
+"""A helper to make an HTML table from a list of dicts, objects, or sequences.
 
 A set of CSS styles complementing this helper is in
 "webhelpers/html/public/stylesheets/grid.css". To use them, include the 
 stylesheet in your applcation and set your <table> class to "stylized".
+
+The documentation below is not very clear. This is a known bug. We need a
+native English speaker who uses the module to volunteer to rewrite it.
 """
 
 from webhelpers.html.builder import HTML, literal
         <tr class="header">HEADERS_MARKUP</tr>
         
         grid.default_record_format(self, i, record, columns)
-make an HTML table from a list of objects, and soon a list of sequences, a list
-of dicts, and a single dict. 
+        Make an HTML table from a list of objects, and soon a list of
+        sequences, a list of dicts, and a single dict. 
         <tr class="ODD_OR_EVEN">RECORD_MARKUP</tr>
         
         grid.generate_header_link(self, column_number, column, label_text)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.