How can I add sortable, when I overwrite the component?
Closed this issue · 1 comments
fbarriosCL commented
Hello, I need to sort the attributes of a column, I am sending the property sortable = "true"
, but I don't know if it is the correct way, because I have errors in my console.
Example code:
<BeeColumn field="email" title="Correo electrónico" type="text" sortable="true">
<template slot-scope="{ row }">
{{row.email}}
</template>
</BeeColumn>
Error:
vue.runtime.esm.js?2b0e:619 [Vue warn]: Invalid prop: type check failed for prop "sortable". Expected Object, got String with value "true".
found in
---> <TableColumn>
<BeeGridTable>
<Representative> at src/views/private/components/index.vue
<Private> at src/views/private/application.vue
<App> at src/App.vue
<Root>