Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: No Data Case #1024

Open
ozkersemih opened this issue Feb 18, 2025 · 0 comments
Open

[Feature Request]: No Data Case #1024

ozkersemih opened this issue Feb 18, 2025 · 0 comments

Comments

@ozkersemih
Copy link
Contributor

Describe the problem or use case

When we are using dynamic data for rendering inside bl-table it is so common to diplay empty list in the table. But as far as I notice, bl-table has no property/attribute for no data situtation like below:
Image

Also there is no chance to add custom element e.g div in bl-table-body to simulate this behaviour in custom way. Because it seems added element not expanding for whole table. Width of it is limited by one column:

<bl-table selectable multiple>
  <bl-table-header sticky>
    <bl-table-row>
      <bl-table-header-cell>Header 1</bl-table-header-cell>
      <bl-table-header-cell>Header 2</bl-table-header-cell>
      <bl-table-header-cell>Header 3</bl-table-header-cell>
    </bl-table-row>
  </bl-table-header>
  <bl-table-body>
    <div>hello world</div> // I tried to give specific width to simulate it for whole table to display special `no data found` element
  </bl-table-body>
</bl-table>

Image

Proposed solution

No response

Alternatives considered

No response

Additional technical context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant