datatable show a button on bar without the "selection"
-
When defining a datatable it is easy to add buttons to the slot=“selection” as in the demo code. Is there another slot to allow a button in this area without the selection?
For instance a datatable that shows addresses of a current person. If they don’t have one I would like to see a button on the bar for “add”. If selection occurs the “Edit” and “Delete” would show up next to the add button. Does this functionality exist?
-
Not at the moment. Datatable is due for a complete rewrite with v0.15 which is coming soon.
If you want your user to select items, you can also use slots, or the
@rowclick
event