Answer the question
In order to leave comments, you need to log in
How to use a component for different paths with loading different data for that component?
I have a component.
<template>
<HotTable :settings="hotSettings" ></HotTable>
</template>
<script>
import HotTable from "@handsontable/vue";
import Handsontable from "handsontable";
export default {
data() {
return {
hotSettings: {
data:
[
["", "Ford", "Volvo", "Toyota", "Honda"],
["2016", "10", 11, 12, 13],
["2017", 20, 11, 14, 13],
["2018", 30, 15, 12, 13]
],
rowHeaders: true,
colHeaders: true
}
};
},
components: {
HotTable
}
};
</script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question