well i'm not a css guru but I think that if you apply tableClass to the table tbody.tableClass is automatically applied to the inner element tbody of the table.
something like this http://www.w3schools.com/css/tryit.asp?filename=trycss_link2 the sample is for the 'a' tag but it should work also for tables 2006/2/7, Hasnain Badami <[EMAIL PROTECTED]>: > Hi > thanks for your reply > > If I create two css classes i.e. tableClass and tbody.tableClass I can pass > the tableClass through styleClass attribute of <t:datatable>but how should I > specify the tbody.tableClass. > > > On 2/7/06, ::SammyRulez:: <[EMAIL PROTECTED]> wrote: > > just guessing but if you create 2 different css classes one for the > > table, one for the tbody and make tbody scrollable? something like > > .tableClass { > > .... > > } > > tbody.tableClass{ > > height=300px; > > overflow=scroll; > > } > > > > 2006/2/6, Mike Kienenberger <[EMAIL PROTECTED]>: > > > I'd recommend creating a patch for t:dataTable that implements a tbody > > > class attribute and opening a JIRA issue with the patch. > > > > > > On 2/6/06, Hasnain Badami <[EMAIL PROTECTED]> wrote: > > > > hi > > > > > > > > I want to write a custom renderer to implement a table which has its > header > > > > fixed. For this i want to render class=somestylesheet (overflow: auto; > > > > width:100%; height :200px) attribute to the tbody element the > <t:datatable> > > > > generates. This would enable me to scroll the table body without > scrolling > > > > the header. > > > > > > > > What do I have to do in this circumstance. > > > > > > > > I shall highly appreciate your feedback > > > > > > > > Hassnain > > > > > > > > > -- > > ::SammyRulez:: > > http://sammyprojectz.blogspot.com > > > > -- ::SammyRulez:: http://sammyprojectz.blogspot.com

