1

experts! I have LWC data table populated with data. One or more columns contain Button element. I want to show some 'master-detail' information by clicking this button.

I tried to handle onRowAction but only I can see is e.detail.row with contents of whole row. How can I get number (or something else about) of column from where event was fired? Or I have to use some another event for this?

1
  • 4
    seems to I have to use typeAttributes: {name: 'whatEverIWant'} for the Button and then make a desicion on e.detail.action.name Nov 2, 2019 at 10:18

0

You must log in to answer this question.