Thanks Anthony. Just what I wanted. -Jim
On Thursday, March 28, 2013 11:48:49 AM UTC-5, Anthony wrote: > > You could do it via a CSS rule using nth-child. For example, suppose you > want to right justify the 5th column: > > .web2py_grid td:nth-child(5) {text-align: right;} > > Note, IE<9 doesn't support nth-child, so you'd need to use JS to assign a > class in that case: > > $('.ie .web2py_grid td:nth-child(5)').addClass('right-justify') > ... > .right-justify {text-align: right;} > > Anthony > > On Thursday, March 28, 2013 12:37:18 PM UTC-4, Jim S wrote: >> >> I want to right justify the data in some of my columns. I haven't found >> a way to do this with SQLFORM.grid. Am I missing something? >> >> -Jim >> >> -- --- 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.