+ Start a Discussion
studiopikastudiopika 

mimicking standard related list display

I'm building a VF page where there is a section of data returned from my controller class and I would like the display of this datatable to look like a standard related list with hover-over color change and all that. Can I accomplish this by having  stylecalss="name_of_the_style" to my <datatable>? I can only put styleclass="list" in there that seems to make a difference. How do I check for the available stylecass-es? I did view the source and got dStandard.css file but none of the style labels there seem to work. Any tips greatly appreciated.

Best Answer chosen by Admin (Salesforce Developers) 
Devendra@SFDCDevendra@SFDC

Hi studiopika,

 

Have you tried using <apex:pageBlockTable> tag instead of datatable ?

 

Thanks,

Devendra

All Answers

Devendra@SFDCDevendra@SFDC

Hi studiopika,

 

Have you tried using <apex:pageBlockTable> tag instead of datatable ?

 

Thanks,

Devendra

This was selected as the best answer
studiopikastudiopika

Wow, that did the trick, thank you so much!!

Devendra@SFDCDevendra@SFDC

Hi studiopika,


If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 

Thanks,

Devendra