Timeline for How can I hide a button based on row content in a lighting:dataTable
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 28, 2018 at 14:38 | vote | accept | Michael Kaplan | ||
Mar 28, 2018 at 14:38 | answer | added | Michael Kaplan | timeline score: 1 | |
Mar 28, 2018 at 14:29 | comment | added | Michael Kaplan | But that seems overly complex for something that you should be able to handle declaratively. | |
Mar 19, 2018 at 15:21 | comment | added | JRiffe | Typically, you would need to capture some kind of event, and then find the button from the target or target source in the event to add a class like slds-hide. | |
Mar 15, 2018 at 20:24 | history | edited | Michael Kaplan | CC BY-SA 3.0 |
added 629 characters in body
|
Mar 15, 2018 at 20:15 | comment | added | Michael Kaplan | lightning:dataTable doesn't give me the flexibility to specify anything on the button beyond: "disabled, iconName, iconPosition, label, name, title, variant" Out of the box it handles creating the markup for buttons. | |
Mar 15, 2018 at 20:09 | comment | added | amidstCloud | Can you post the code that you have? Can't we add a class to lightning: button to hide it? | |
Mar 15, 2018 at 20:00 | history | edited | Michael Kaplan |
edited tags
|
|
Mar 15, 2018 at 19:56 | review | First posts | |||
Mar 15, 2018 at 20:13 | |||||
Mar 15, 2018 at 19:55 | history | asked | Michael Kaplan | CC BY-SA 3.0 |