vue-table-dynamic icon indicating copy to clipboard operation
vue-table-dynamic copied to clipboard

Display different input in edit mode

Open benoitverstraete opened this issue 5 years ago • 0 comments

Hi !

Is it possible to override the input of a cell ? I would like to display a date input (with the little arrow that let the user select a date in a calendar) for a given cell, based on a Date value in the data.

  data: [
      ['Date', 'Data1', 'Data2', 'Data3'],
      [new Date(2020, 2,5), 'b3ba90', '7c95f7', '9a3853'],
      [new Date(2020, 2,6), 'ec0b78', 'ba045d', 'ecf03c'],
      [new Date(2020, 2,7), '63788d', 'a8c325', 'aab418']
    ],

Same question for a "select" input (based on a list of countries (id/name) for example).

Thanks a lot for your work and your support.

benoitverstraete avatar Feb 27 '20 10:02 benoitverstraete