You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I migrated from the stable version 1.7 to @next.
I found there may be a change in the structure of data passed to cell-clicked method. I have the event handler like this as usual.
with @next or v2.0, I see the data object nested in this data object and other objects, i.e; fields and data.id is of course undefined.
So for detail-row-component to work for @next version in my case, I had to make the trivial change from data.id to data.data.id like this: this.$refs[this.vuetableRef].toggleDetailRow(data.data.id);
, and it works.
The text was updated successfully, but these errors were encountered:
I migrated from the stable version 1.7 to @next.
I found there may be a change in the structure of data passed to cell-clicked method. I have the event handler like this as usual.
with v1.7, the console prints
with @next or v2.0, I see the data object nested in this
data
object and other objects, i.e;fields
anddata.id
is of courseundefined
.So for
detail-row-component
to work for @next version in my case, I had to make the trivial change fromdata.id
todata.data.id
like this:this.$refs[this.vuetableRef].toggleDetailRow(data.data.id);
, and it works.
The text was updated successfully, but these errors were encountered: