https://github.com/mitchspano/dynamicdatatable
https://github.com/mitchspano/dynamicdatatable
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mitchspano/dynamicdatatable
- Owner: mitchspano
- License: mit
- Created: 2020-02-12T01:46:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T01:56:44.000Z (almost 6 years ago)
- Last Synced: 2025-03-25T13:11:19.291Z (9 months ago)
- Language: JavaScript
- Size: 210 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dynamic Lightning Datatable Actions
Lightning Datatable is one of the more powerful base Lightning Web Components. This component allows developer to display multiple rows of objects with dynamically formatted columns for a variety of data types.
Lightning Datatable’s action column allows a developer to specify a list of actions which are available for the user to select.
This is great for most use cases, but the actions are defined as a constant, which means that every row must share the same actions.

### Simple Demonstration
Here is a simple demonstration of a lightning datatable with dynamic row actions

### Limitations
Unfortunately there is one minor limitation to this implementation. If a row has no actions, the drop-down arrow will still show and clicking it will display an empty list.
