How to set attributes on <tbody />

1 view
Skip to first unread message

Sam

unread,
Dec 10, 2009, 10:26:09 AM12/10/09
to mvccontrib-discuss
I can't seem to find out how to set a class attribute to the tbody tag
using the Grid. Ideas?

Jeremy Skinner

unread,
Dec 10, 2009, 12:09:24 PM12/10/09
to mvccontri...@googlegroups.com
The grid does not support adding custom attributes on the tbody tag. If you want to do this, you'll need to create your own GridRenderer implementation (subclass HtmlTableGridRenderer and override RenderBodyStart).

Jeremy


2009/12/10 Sam <sam...@gmail.com>
I can't seem to find out how to set a class attribute to the tbody tag
using the Grid.  Ideas?

--
Contact Jeffrey Palermo or Eric Hexter with specific questions about the MvcContrib project.  Or go to http://mvccontrib.org

To unsubscribe from this group, send email to mvccontrib-disc...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/mvccontrib-discuss?hl=en

Reply all
Reply to author
Forward
0 new messages