Skip to content

Tag: DataTable

Filtered related list using lightning:datatable

We can use a lightning:datatable component or aura:iteration to display data in tabular format. In this example we will use lightning:datatable component. Note: lightning:datatable components are not supported on mobile devices. For detail features supported please read https://developer.salesforce.com/docs/component-library/bundle/lightning:datatable/documentation At the time of writing of this blog, resizing of columns was not working.https://success.salesforce.com/issues_view?id=a1p3A0000018C5BQAU Tables can be populated during initialization using the data, columns, and keyField attributes. The keyField attribute is required for correct table behavior. It associates each row with a unique identifier. In this example we creates a table whose… Read more Filtered related list using lightning:datatable