Is your feature request related to a problem? Please describe.
Dynamic menu feature is already available for tileList and cardList display modes.
It would be nice to have the same option for dataTable and treeGrid display mode.
Describe the solution you'd like
Ability to dynamically show/hide or activate/deactivate row menu entries on a per row
basis when in dataTable and treeGrid display mode.
Describe alternatives you've considered
Requires a specific dynamic menu injection instead of the static approach.
Ideally, a fix in the standard lightning-datatable base component would be better to support the {fieldName:xxx}syntax for menu entries similarly to buttons.
Additional context
Best option would be to push a Pull Request for the standard opensource lightning-datatable component.
Is your feature request related to a problem? Please describe. Dynamic menu feature is already available for tileList and cardList display modes. It would be nice to have the same option for dataTable and treeGrid display mode.
Describe the solution you'd like Ability to dynamically show/hide or activate/deactivate row menu entries on a per row basis when in dataTable and treeGrid display mode.
Describe alternatives you've considered
{fieldName:xxx}
syntax for menu entries similarly to buttons.Additional context Best option would be to push a Pull Request for the standard opensource lightning-datatable component.