<v-client-table
:data="tableData"
:columns="columns"
:options="options"
:name="table_name"
@loaded="onLoaded"
scope="props">
<mychild-row name="childrow id="props.childID"><mychild-row>
</v-client-table>
Just a thought??
I've tried to implement something of the sort but hit a problem with passing contextual row data inside the v-for loop. If you feel up to the task a PR is most welcome.
@hunterway55 hello , do you know how to add child row now?
Hello. We just continued using
options:{
...
childRow: 'row-component'
...
}
thank you
2017-07-21 14:48 GMT+08:00 Jonathan allen notifications@github.com:
Hello. We just continued using
options:{
...
childRow: 'row-component'
...
}—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/matfish2/vue-tables-2/issues/74#issuecomment-316919118,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU-DUVq_1eur9M8haxKV1F2JhNFiLC5Hks5sQEmugaJpZM4L7A1N
.
Is there a working jsfiddle example of using child rows? I'm new to using Vue and haven't been able to figure out what is meant by the partial examples on the tutorial. I can get the main client-datable to work just fine though.
I've added an example usage to the fiddle
Thanks a million.
@matfish2 Not sure if this is the right place, but is there an option to Append the child row toggle, vs prepend it? Love for it to be the last column on the row instead.
Yes, Set the childRowTogglerFirst to false
Most helpful comment
Yes, Set the
childRowTogglerFirsttofalse