Skip to main content

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.

87 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
632 views

Lightning Datatable Action Violates Content Security Policy directive

I'm using Lightning Datatable with Static Actions and following the guide in Developer Salesforce.com Lightning Datatable component guide but getting the following error (seen in the Chrome developer ...
Amul Shah's user avatar
  • 133
5 votes
1 answer
3k views

LWC Datatable - Turn Custom Lookup Field Value in Editable Datatable to Draft Value for Mass Update

As you know, datatables do not support lookup field. I've built a search lookup field that queries an object, and added that to the LWC datatable as a custom type. The id of the selected record (...
Fred's user avatar
  • 51
4 votes
1 answer
3k views

Sending data to lightning-datatable lwc custom column type

I have a custom datatable with a custom column type containing a button, and a modal that pops up after the button is clicked. I am having trouble figuring out how to send my datatable data to the ...
thomnguyen's user avatar
3 votes
2 answers
4k views

Hyperlinking in Lightning:Datatable

Currently when I use the lightning:datatable and then a column of type url. I cant seem to bind a actual event to the url.. My Code is currently as follows Component <lightning:layoutItem ...
Londoner_Tom's user avatar
3 votes
0 answers
991 views

How to make table align correctly Salesforce Lightning design system Javascript Table

I was able to append my data, and now the data does not align correctly with the column headers as well as it is not sortable (in the code I have sortable enabled. and the check boxes do not align ...
Jason's user avatar
  • 121
3 votes
0 answers
176 views

Table with independent rows

I need a table showing sObjects within independent rows. I need to perform actions on single rows without even taking care about all the other rows. Reason: Some rows might be invalid (having ...
itsmebasti's user avatar
  • 6,477
2 votes
0 answers
213 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
  • 977
2 votes
1 answer
393 views

refreshApex in Lightning Web Components is not working

In Custom Object i have new tab with lightning Input, On Save the Form value we need to Display the data in data table. Data is saving in my object, But Data-table is not refreshing with new data. I'...
SFDC_Beginner's user avatar
1 vote
0 answers
49 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,849
1 vote
1 answer
379 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
242 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
0 answers
321 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,458
1 vote
0 answers
727 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
1 vote
1 answer
548 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
1 vote
0 answers
629 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
0 answers
704 views

lightning web component Inline Editing datatable for Multiple Rows issue

I have inline edit datatable component for a opportunity related object. I am facing an Error when i click 1st click and clicking multple clicks records are updating. Error message is "unable to ...
Suresh's user avatar
  • 13
1 vote
0 answers
1k views

NavigationMixin : pages persist when going back

So I have this setup where I have a searchfield that, upon button click, navigates to a results screen where there is a lightning datatable. Now, the problem is that if I go back from the results to ...
Temojikato's user avatar
1 vote
0 answers
368 views

lightning:datatable table headers are disappearing in iPad safari browser

I am using lightning:datatable, the table headers are disappearing in iPad safari browser when I try to resize the coloum headers by draging. Please help me in resolving this.
Ajai Arul Edwin Raj's user avatar
1 vote
0 answers
654 views

Popover section on top without resizing table

Current I have a table and want to display a popover whenever the user mouseover's a comment section in a table. What happens when the popover executes, it resizes the table to accommodate it by ...
Jeff's user avatar
  • 191
1 vote
1 answer
273 views

Move "actions" dropdown in Lightning:datatable in front of other page elements

I'd like the "actions" dropdown menu on my lightning:datatable to appear above the component and other page elements so that it doesn't force the user to scroll down to see all of the options. Does ...
Alex Curry's user avatar
1 vote
0 answers
226 views

Datatable issue with Input Text in VF Page

I got in to a use case where I have to navigate to a VF page (from a button click on case layout) to enter some custom data of a custom (custom__c) object. Once user enter data it has to populate in ...
L Mudiyanse's user avatar
1 vote
0 answers
591 views

Errors when using DataTables in Lightning Components?

We're using jQuery datatables without our components but are getting TypeError: $(…).DataTable is not a function errors a lot of times when we load the page (not every time though). In our component ...
Angelo's user avatar
  • 317
1 vote
2 answers
5k views

How to retain same page in jquery data table?

I am using jquery data table for the list view. In the list i have Action section, this section contains the 'Edit' option for that row. When selecting the Edit button on record that in 2nd page of ...
Vijay Kumar's user avatar
1 vote
0 answers
1k views

DataTable collapsible rows in salesforce

We are trying to use dataTable collapsible feature https://www.datatables.net/examples/api/row_details.html The problem is that we don't want to use VF remoting and we are looking for something that ...
Piyush Singhal's user avatar
1 vote
0 answers
904 views

apex:outputfield on hover display value using tooltip

I have a datatable with css overflow : hidden. Now for big digit numbers, I want for a particular column, 15th here, enable on hover show value using tooltip. The hover part is working fine and ...
user59759's user avatar
  • 581
1 vote
0 answers
264 views

allow user to select columns from data table on visualforce page

We have lots of visualforce pages where we display search result to user in a data table. These data tables have large number of columns. We need to provide user functionality so that they can select ...
Walker's user avatar
  • 2,365
1 vote
0 answers
643 views

Apex DataTable showing only one row

I have an aggregateResult query which returns the aggregates(MAX) of few fields and I display that in apex:dataTable in the Visualforce page. This is fine. Now I need to run this aggregateResult ...
sfdcFanBoy's user avatar
  • 4,084
1 vote
1 answer
2k views

Inline editing DataTable in Lightning Design

I'm currently working on a DataTables in Lightning Design. I basically want to implement the Inline editing feature. I found it bit hard to implement this with real data within Apex:repeat. Can ...
L Mudiyanse's user avatar
0 votes
0 answers
13 views

Flow Data Table with View Only still hows "0 Items Selected" and also highlighting an item

This is very annoying. I simply want to display a list of a few records in a flow. I added a Data Table, I specified the "View only" option. It displays the rows but it still says "0 ...
Ken's user avatar
  • 450
0 votes
0 answers
54 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
88 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
59 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
0 votes
0 answers
71 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
0 votes
0 answers
386 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
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
131 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
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
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
2 answers
103 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
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,821
0 votes
0 answers
529 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
0 answers
592 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
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
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
82 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
  • 35
0 votes
0 answers
570 views

Print Datatable data LWC

I have a data table in LWC component. I want to print the data of that data table. how can I implement this? I've tried window.print(); but this prints the whole window. anyone knows how can I ...
mayur pardeshi's user avatar
0 votes
1 answer
3k views

LWC Datatable - Add an action button on top left corner

Context : I created my own table that haves a component in the top left corner, that toggles a window with a checkbox group to show or hide some columns. The problem : I now have to port my table into ...
ShinProg's user avatar
0 votes
0 answers
2k views

LWC datatable wrap text column header

How can I make the column header in the LWC datatable to be wrapped as well ? wrapText:true only applies for the rows <lightning-datatable key-field="Id" data={...
osos9's user avatar
  • 559
0 votes
2 answers
157 views

Customize datatable

everyone! I'm a newbie in Salesforce, and I have a problem: I need to create datatable similar to that: But the only one that I could do is that(I used a standard lightning-datatable, also Usage ...
Robert F.'s user avatar
0 votes
0 answers
338 views

Link to record === Instead of displaying a text (String)

I'm trying to add a datatable component to a flow in order to display knowledge articles. I've downloaded the component online. Unfortunately the component doesn't give me the possibility to access my ...
user52619's user avatar