'Customize the default error on vuetify's v-data-table : "no matching records found"

How can I change the warning message "no matching records found" by a customized one? For example: I want to change this by my own customisation

Shown in the documentation : Vutify documentation

We have the message: "No matching records found" displayed and I want to change it by my own v-alert.

Is that possible?



Solution 1:[1]

You can use slots to change content. The relevant documentation.

solution:

<template v-slot:no-results>
    <span>Not Found Data</span>
</template>

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Alp