Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [datatable]

An HTML table that is defined by iterating over a set of data, displaying information about one item of data per row.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

The Data Table (unofficialsf screen component) record name link is not targeting to Sandbox environment

The field Teachable Moment Name is the standard record name. And the url is not taking me to the correct environment. When I am configuring the columns in the Flow builder the url seems correct: ...
Lut's user avatar
  • 287
0 votes
1 answer
42 views

Flexcard datatable condition not working

I am using a flexcard to display a data table and I am using a condition on the table to display only those where CaseStatus = New, however, it seems to totaly ignore the condition. Here is a json ...
michelle emanuel's user avatar
0 votes
1 answer
21 views

List of editable options with flow

I have a screen flow that needs to get a list of products and the possibility of editing values in the field, such as price and quantity. I'm using a data table to get this list of products and ...
Edgard Batista's user avatar
1 vote
0 answers
30 views

Display 6 decimal places in flow data table

I have a Flow that extracts data via an Apex call into a record collection in the Flow. This collection then displays in a data table for the user to verify and to select any they might want to omit ...
Irene's user avatar
  • 1,839
0 votes
1 answer
506 views

Update records updated in Flexcard Datatable

I want to replace the Opportunity related list component on the Account record page with a Flexcard that has a datatable element listing all the related Opportunity records. I am aware that this use ...
Adriaan Van Niekerk's user avatar
0 votes
1 answer
62 views

Get the label of edited column in lwc datatable

I have a datatable with 10 columns - ex - <template> <div style="height: 300px;"> <lightning-datatable key-field="id" ...
Rakesh Kumar's user avatar
0 votes
0 answers
49 views

I want show output like below image in the lwc datatable ,

About Table: Inquiry, Transaction, Form, account Maintenace and Others are nothing but the controlling picklist(Call_Activity__c) values, while, Loans,Plan Regulation,Plan Overview, money management ...
Radhika's user avatar
1 vote
1 answer
189 views

LWC: Custom Datatable with Multiple Objects Inline Editing

I've been trying to find an example to go off of, but not finding anything relevant. I've created a custom data-table in an LWC which pulls data from two separate objects and compiles them into a data-...
userC-137's user avatar
1 vote
0 answers
16 views

Sorting in data table not working [duplicate]

I have built a data table similar to something I have done before but now my sorting is not working and I cant figure it out. The difference between this data table and other I have built before is ...
Adam Ashworth's user avatar
0 votes
0 answers
56 views

Date range filter using JQuery DataTable with Salesforce as server side

I have a requirement where I need to put all the TXN__c records in a table where I have more than 50,000+ records that's why I use server-side. On load I can now get what I want. My next challenge ...
Fer Catapang's user avatar
1 vote
0 answers
188 views

Flexcard Datatable not showing icon

I am trying to add an icon to the flexcard datatable cell. There is an option to choose the data type as an icon. but I just can't make it work. Sample data I used: { "flexcard_datatable":...
Lee Fang's user avatar
1 vote
1 answer
345 views

LWC extract values from Apex Map<String,List<Sobject>>

In my LWC I am using an Apex Class to return a Map<String,List> containing lists for Leads and Contacts. I want to iterate this Map and use the individual lists in separate datatables. I have ...
Jeff Callahan's user avatar
0 votes
2 answers
122 views

How can I pass children fields to a datatable?

I'm looking for a way to make my datatable display records from my current object and children records. The query i'm running is: List<Account> accounts = [ SELECT Id, Name, ...
Frans's user avatar
  • 29
0 votes
1 answer
604 views

Fetching Related Records from flow Data Table

I'm trying to display a chosen value from a data table's lookup field, but it's coming up as null. I've checked the permissions, and this is related to the User lookup field, where I'm trying to get ...
Krishnamurthy's user avatar
0 votes
1 answer
140 views

Picklist field is disabled in LWC Datatable

I have a picklist field which I am fetching data from Apex. Now the scenario is I have to fetch all the data and I'm able to see those values in console.log but the picklist field looks greyed out and ...
Shyamala Varadharajan's user avatar
0 votes
1 answer
274 views

how to get values which is inserted in a cell of lwc datatable

<template> <table class="slds-table slds-table_cell-buffer slds-table_bordered" aria-labelledby="element-with-table-label other-element-with-table-label"> ...
Raja's user avatar
  • 3
0 votes
0 answers
356 views

How to add another table inside a datatable when clicked on a row - LWC

I have a requirement to open another table on click of a lightning datatable's row accordion.I already have the datatable code present in which I have used Basic Lightning datatable.Now the ...
Hira Khan's user avatar
-1 votes
3 answers
1k views

Data table in screen flow salseforce

I added data table to my screen flow, and when I have one item the selected icon look like a radio button , I want that it will be like a check box, how to do that? (The flow called from button on ...
user136207's user avatar
1 vote
0 answers
260 views

How to include nested datatable with custom columns

Currently, I'm displaying the aggregate list of opportunities in a data table along with a custom button named "View Details" as a column. When someone clicks this button I want to display ...
Pavan tej's user avatar
  • 1,460
1 vote
0 answers
667 views

Salesforce Flow - How to use In Operator with Data Table element selected Rows

I am using Flow element Data Table I have scenario like, two picklist values are added on the screen e.g. Status and Type of Object, and also the comment field. When the user clicks on next I will ...
herr's user avatar
  • 133
0 votes
0 answers
2k views

LWC Datatable Inline Edit for Picklist

I have create an LWC datatable component to handle related record and Edit the records once displayed. I have one picklist field and i need to render as picklist during inline edit. I have implemented ...
Arun patro's user avatar
0 votes
0 answers
110 views

How to download a file in a lightning datatable using the download icon

I'm hoping someone can provide me guidance on this since I haven't been able to find an answer. I have created a lightning datatable which displays delete and download icons on each row. I am able to ...
Joe's user avatar
  • 13
1 vote
1 answer
568 views

Force to hide numeric column in LWC Datatable

I have a datatable where it's possible for the user to be able to inform the amount of products he/she wants to purchase. The problem is that as I'm making some columns editable (editable=true), the ...
dsd's user avatar
  • 121
0 votes
0 answers
1k views

Data Table component in a Screen Flow does not display all fields from a Variable

I'm using 2 Assignment elements to populate a Quote Line Item variable. There are a number of decision required for Sales Price, hence the 2nd Assignment element. In the debug the fields in the ...
Dragos Zelezneac's user avatar
2 votes
2 answers
2k views

Omnistudio Datatable link to current record

I have a datatable in a flexcard where I show information from the Account object, example: Name, Account Number etc... the user wants to click on the account name in a row of the table and be ...
Eduardo Secolin's user avatar
-1 votes
1 answer
438 views

How to enable/disable button based on user edit access in LWC datatable?

I am building a Lightning Web Component (LWC) that retrieves data from Apex and displays it in a datatable. Currently, the LWC component retrieves all records from Apex, but I want to fetch that the ...
Akshay Gupta's user avatar
0 votes
0 answers
2k views

jQuery datatable checkbox checked not working

I am trying to use checked. checked property in jQuery datatable based on record selection and want to pass it to server side for further processing. Here is a prototype of what I am trying to do. ...
CRM Guy's user avatar
  • 619
0 votes
1 answer
729 views

Using CSS styling hooks on lighting datatable rows

I want to increase the height of the rows in the lighting (I also want to change the spacing and add shadows)According to the documentation here. But I cant seem to target the row element of the ...
Sandeep Daniel's user avatar
0 votes
2 answers
83 views

about aura datatable cellattributes

I want to approach the following requirement, it is possible to change a valor displayed in a field of the row of datatable regards um determinate valor received, for example if the field has a 1 i ...
GRC7's user avatar
  • 1
0 votes
1 answer
131 views

why is my slds-grid not fitting to page?

I have a datatable inside of a slds-grid so that I can have multiple tables side by side. When I do this though, the LWC does not fit to the page. Is there a tag I am missing that will enforce strict ...
Olivia's user avatar
  • 3,461
0 votes
1 answer
103 views

lightning datatable does not show any data, just empty lines

Screenshot attached below: cmp file: <aura:component description="leaderboard" controller="WordshuffleRecordController" implements="force:appHostable,flexipage:...
RandomNickname23's user avatar
0 votes
0 answers
1k views

Flow datatable to show data points from different objects/fields

I am trying to use FLOW data table element - https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_screencmp_data_table.htm&type=5 to display columns data like above screenshot. Given ...
SfdcBat's user avatar
  • 4,811
0 votes
1 answer
7k views

Enable Inline Editing for Lightning Table

I have a LWC Table that is in a custom object and will need to display in the Record Page similar to a Table in Excel. The goal is to be able to enter Quantity and the other columns will not take user ...
FrancoDD's user avatar
0 votes
1 answer
789 views

Why is Refresh Apex not working while Inline Edit in LWC datatable?

Why is refresh Apex not working during Inline Edit? When I edit the record, even though the new value gets updated, but in the datatable the old value gets displayed. How can I fix this? .html <...
user275494's user avatar
1 vote
1 answer
503 views

LWC Custom lookup in custom datatable doesn't extend out of table boundary

I have a custom datatable which contains a custom lookup component. (Custom lookup component is from: https://lwcfactory.com/custom-lookup-salesforce-lwc/) I put it inside of my custom datatable, and ...
missinghome's user avatar
0 votes
0 answers
496 views

refresh datatable data in lwc while using imperative method

I have used the Braintree payment gateway to payments on 'Order' object. For this I have created the datatable to fetch the 'TotalAmount' field from the particular record and I'm calling it ...
user avatar
0 votes
1 answer
324 views

Format Date from Datatable selectedRows

In my LWC I have a Datatable with a column for "Date From" - below is the column configuration { label: 'Date From', fieldName: 'werDateFrom', type: 'date', sortable: true, ...
Jeff Callahan's user avatar
2 votes
0 answers
203 views

Can datatable stripes or selected shading have custom colors?

We have a datatable that has striped shading (slds-table_striped) applied in HTML and selected shading (slds-is-selected) applied programmatically when the user clicks a row. However, both of these ...
Chuck's user avatar
  • 967
1 vote
2 answers
5k views

LWC Lightning Data Table - Save All Records(Rows) in the Table upon Save Button Click

I have a requirement to be able to save all records present in the Editable Lightning data table and not just the ones that are edited. Is there a way yo achieve this. I see we can only fetch the drat ...
Ashfaq Mohammed's user avatar
1 vote
1 answer
197 views

Joining two columns together into a datatable in aura

i have a couple of questions. So, first i have a datatable from a custom obj, where users can add or single email addresses or group of emails (like a mailinglist). There are two columns, one for ...
Simon's user avatar
  • 13
2 votes
1 answer
4k views

Creating Multiple Data Table for list of Records using LWC

Can anyone tell me how do I create multiple data table using single lightning data table in my html and iterating over with template for each with the list ? I am looking at something like this: ...
Ajay's user avatar
  • 45
0 votes
0 answers
551 views

Missing Picklist values in LWC Datatable

The whole component works perfect - only picklist field values are missing. Additionaly after clicking on a pen - the field is moved down. The values are not visible. Do you have any idea what I am ...
ApexNewbie's user avatar
2 votes
1 answer
1k views

How can I display response data from apex controller in dataTable?

I want to display data that I'm getting from API response in a datatable. The APEX method returns JSON in this format: { "data": [ [ "765919758146423601", ...
Maria's user avatar
  • 25
1 vote
2 answers
1k views

Sort lightning datatable by default

My sort function works fine, but I the table should be sorted by default. How can I sort the table by date (dateOut) by default? CONTROLLER doInIt : function(component, event, helper) { component....
FenTro's user avatar
  • 29
0 votes
0 answers
1k views

Javascript datatable - Row ID's not being picked up after pagnation

I am creating a data table which has an onclick event for 3 columns. When clicking any of the columns on page 1 everything works as expected. If I use the pagination to go to page 2 then the onclick ...
Ryan Gemmell's user avatar
1 vote
0 answers
604 views

How can I display the hierarchy of my custom objects in a Visualforce page using a datatable?

In advance of posting this question, I have attempted to use maps and wrapper classes. I've already made several attempts for the past two months using the suggestions on this forum and the SF ...
Veronica Towers-Dioso's user avatar
1 vote
1 answer
484 views

How to format a number so that dot appears in the thousands?

I have a datatable defined as follows: <lightning:datatable data="{!v.mydata }" columns="{!v.mycolumns}" keyField="id" hideCheckboxColumn="true" ...
BlueSac's user avatar
  • 25
0 votes
1 answer
6k views

How to delete row in lwc datatable and corresponding object

I have a datable with PermissionSetAssignment objects and I need to delete the record selected from user but when I click delete nothing happens. Here is my code: import { LightningElement, wire, ...
Ивелина Иванова's user avatar
0 votes
0 answers
80 views

If a checkbox is checked then display Primary along with the Name/Title

I am working on a lwc datatable and this is the current position: LWc component is placed in the grant contract object from which a lookup is given to grant object. Here I have the primary contact ...
PJ98's user avatar
  • 25
0 votes
2 answers
1k views

Convert checkbox true value to checked symbol

Hi all I am working on a lwc datatable and I have placed a checkbox named Ischecked It currently displays the true/false value in the datatable. Is there some way instead of this true value I can ...
PJ98's user avatar
  • 25

1
2 3 4 5 6