You need to sign in to do that
Don't have an account?
Aruna Vasahan
Table Structure in lightning components
Hi guys,
I have a question. Is it possible to use table structure in lightning components as in Visualforce page?
Thanks
Aruna
I have a question. Is it possible to use table structure in lightning components as in Visualforce page?
Thanks
Aruna
Yes, you can use table structure in lightning component as VF page but lightning design system defines it's own structure so you need to use that structure. Refer below linke for reference.
https://www.lightningdesignsystem.com/components-overview/
Thanks!
Amit Singh
I don't want to hardcode data into the table. I want to fill table values during run time. Is that posiible with SLDS.
Thanks
Aruna
Yes, you can pass the values dynamicaly.
Thanks!
AMit
You can use dataTable in lightning design system which help to create table structure..
https://www.lightningdesignsystem.com/components/data-tables/
Regards
Roshni
Can you please provide some simple exmaple for me. I am not able to get the concept there.
Thanks
Aruna
please go through the link that I have shared before. By using the datatable we get the same UI design as in lightning. Data tables are an enhanced version of an HTML table and are used to display tabular data.
If you dont want to have style as same as lightning, but simple datatable,
just go through this link which shows simple example which shows difference between while using html table and <apex:dataTable>
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_dataTable.htm
Hope it helps.
please help me.
click path and display account record in lightning.