Skip to content

[Table] Slot when empty data #243

@Melchyore

Description

@Melchyore

Is your feature request related to a problem? Please describe.

It would be useful to have a slot to show shomething like "No data" when rows are empty.

image

Describe the solution you'd like

Add a new slot content or body where we can put anything but table rows.

Describe alternatives you've considered

No alternatives.

Additional context

You can find an example here: https://www.naiveui.com/en-US/os-theme/components/data-table#empty.vue

(BTW, great lib, thank you for the hard work!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions