All Questions
Tagged with lightning-events lightning-datatable
9 questions
0
votes
1
answer
716
views
Show/Hide OOB SAVE button on LWC datatable on an event fire
I have a LWC component embed in column of LWC Datatable using custom data types. Now I want to show/Hide OOB datatable Save button on an event fire from embed LWC component.
sdGridCustomDatatableChild ...
1
vote
0
answers
407
views
Manually Trigger cellchange Event on Datatable
Is there a way to manually trigger the cellchange event on a datatable?
I'm using a custom datatable that allows a custom data type - a dropdown (combobox) - it's based on this custom datatable.
I ...
0
votes
1
answer
3k
views
How to catch horizontal scroll event of a LWC lightning data table to implement fixed column in datatable
EDIT : Background of original requirement.
We want to implement a "freezed" 1st column in a custom lightning datatable. When we scroll to the right, 1st column should always be in view. ...
0
votes
0
answers
2k
views
LWC Get value from cell in datatable selected rows
I'm trying to determine the value of one of the cells in a selected row in an LWC datatable, but can't find how to do this.
<lightning-datatable
key-field="Id"
data={accounts}
...
0
votes
2
answers
4k
views
How can I pass selected rows from a lightning data table and display in a differnt component
I have a component with a data table. I am able to get the selected rows in an object. I am trying to pass it to a different component using the application event. The event fires but it doesn't ...
0
votes
1
answer
2k
views
LWC - Why is the computed rowId for my custom data type in lighting-datatable undefined?
I have a custom lighting-datatable where the last row is a column that contains two buttons. When either of these buttons is pressed, I am attempting to retrieve the rowId of the row where the button ...
0
votes
2
answers
6k
views
How to force width resizing of lightning:datatable?
I've structured a component in a way that either a lightning:datatable aura component or a lightning:dualistbox. The dual list box is used to set the columns attribute of the data table. The issue is ...
0
votes
1
answer
693
views
lightning datatable populate on paste from clipboard
Is it currently possible access the clipboard conents from the onpaste event for the lightning datatable? If so how? If not then is there a work around?
I want to copy an paste from Excel and ...
1
vote
1
answer
888
views
$A.get('e.force:refreshView').fire(); for Save funtionality is not working in case of Lightning:dataTable
I want to refresh the view whenever I click on Save button, it should update datatable with newly updated values, but still shows old value. Though update works fine in back-end.
Please find code ...