Skip to main content
The 2024 Developer Survey results are live! See the results

New answers tagged

0 votes
Accepted

Lightning-Datatable column header tooltip and icons

You can use the iconName property to identify a SLDS icon to display in the column header. You cannot add a tooltip, as the header already has a built in hover action (to display the rest of the title,...
sfdcfox's user avatar
  • 497k
2 votes
Accepted

Lightning datatable display data from apex controller

Data tables require an Array to display data. As such, your data needs to be an Array. Consider just returning a List of records, like this: @AuraEnabled(cacheable=true) public static CustomObject__c[]...
sfdcfox's user avatar
  • 497k
0 votes
Accepted

Will there be a responsive datatable component soon?

Looks like the answer to this question is NO.
Keith C's user avatar
  • 137k
0 votes
Accepted

Salesforce get Draft and other row data

Only the id and changed values are found in draftValues. You can find the original row data to determine custom logic rules. handleCellChange(event) { // Match the rows in this.data with event....
sfdcfox's user avatar
  • 497k
0 votes

How to evaluate if a row was selected from a Flow: Data Table component

An alternative that doesn't require a Decision Element is to use the Row Configuration Minimum Selection field If you select no rows and click Next, a nice error message below the table appears Doc ...
cropredy's user avatar
  • 72.2k

Top 50 recent answers are included