[Vuejs]-I want to change the head in this data table?

0👍

You putted Store, snapshot in items.

Fix it refer to code at the bottom.

Hope it works.

data() {
  return {
    items: [
      { Store: 'alex',  snapshot: 'missing'},  // change here. you are making header in this row.
      { Store: 'jjj', snapshot: 'hadara', store: 'store 1', class: 'A',  missing: 'missing'},
      { Store: 'tyui', retail: 'hadara', store: 'store 1', class: 'A',  missing: 'missing'},
      { Store: 'ttt', retail: 'hadara', store: 'store 1', class: 'A',  missing: 'missing'},
      { Store: 'mmm', retail: 'hadara', store: 'store 1', class: 'A',  missing: 'missing'},
      { Store: 'zzz', retail: 'hadara', store: 'store 1', class: 'A',  missing: 'missing'},
      { Store: 'aaaaa', retail: 'hadara', store: 'store 1', class: 'A',  missing: 'missing'},
    ],

Leave a comment