On Friday, November 1, 2013 12:05:56 PM UTC-4, weheh wrote:

> Anthony, TSV works pretty well. Now I have to figure out how to get rid of 
> the html formatting I've put in, but I think TSV basically does the trick.
>
> It would work better if grid gave <td> columns a class or id corresponding 
> to the name of the field being displayed. Then I wouldn't have to wrap my 
> values with <div> to get column entries to be left, right, or 
> center-justified.
>

If you want to target particular columns for special formatting, you can 
use the CSS nth-child selector -- so no need to wrap the cell contents in a 
div.

I have previously made a suggestion to include <col> elements in the grid 
table to make it easier to apply column based styling without having to 
know or hard-code the column number in your CSS/JS.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to