You need to sign in to do that
Don't have an account?
arpit vijayvergiya
how to make table data showing like this
First Name | arpit | vikash | |
Last Name | vijay | kumar | |
abc@gmail.com | abc1@gmail.com | ||
Phone | 345435435 | 34435454 | |
City | noida | delhi | |
You can use Lightning Design System (https://www.lightningdesignsystem.com/components/data-tables/?variant=advanced#react-target)
Here is code which will give you idea to proceed further:
It will look like this:
Use <apex:slds /> in your Visualforce page, this will add Lightning Design System library.
If you are going to populate date from your object then you need <apex:repeat to generate <td>'s like this:
All the best!!
Regards
Gulshan Raj