ratiw / vuetable-2-tutorial

MIT License
258 stars 67 forks source link

How to show multiple fields in one field #61

Closed viewplatgh closed 7 years ago

viewplatgh commented 7 years ago

Hi,

I'd like to customize a field that simply combine multiple fields together. I think it should be able to achieve by using component or slot, but the example doesn't give me enough information. The example is using @click="onAction('view-item', props.rowData, props.rowIndex)" to access rowData, but how can I simply bind rowData fields to template element content?

viewplatgh commented 7 years ago

Solved. Can be achieve by using {{ props.rowData.field }}