How to display an array inside q-table column ?

  • So, basicallay I got an array of objects and each object has got multiple properties; one of them is an array that I want to display as a column inside q-table, is this possible to configure in the columns prop ?

  • @omar-rabee Try to add this to the column definition:

    columns: [
        name: 'something',
        label: 'Something',
        field: 'something',
        format: (val, row) => val.join(', ') // this will format it as a comma separated value

Log in to reply