question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Table: Ability to show a "No data" tile

See original GitHub issue

Detailed description

Describe in detail the issue you’re having.

I have a Table component that may happen to have no data to show and I handle that no data case with the following code:

<ibm-table [model]="myModel"></ibm-table>
<div *ngIf="myData.length === 0" class="bx--tile">No data.</div>

2018-09-07_10-15-59

As you can see there’s a gap between the table headers and the no data block because the table still creates an empty row with no cells which pushes the no data block lower. It would be nice to have an embedded mechanism to the no data situation, for example an input field noDataMessage="No data" (or noDataTemplate) which will be showed automatically when the model contains no data. It should look like a complete component and not cut at the header bottom like it is right now.

Is this a feature request (new component, new icon), a bug, or a general issue?

Feature request

Is this issue related to a specific component?

Table

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
carbon-botcommented, Oct 18, 2018

🎉 This issue has been resolved in version 1.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

0reactions
stanislavgeorgievcommented, Oct 18, 2018

🥇

Read more comments on GitHub >

github_iconTop Results From Across the Web

Table: Ability to show a "No data" tile · Issue #48 - GitHub
I have a Table component that may happen to have no data to show and I handle that no data case with the...
Read more >
[UPDATED] Trick to show items with no data in PivotTables
Show Items with no Data in PivotTables is a handy setting that allows you to show items in the PivotTable even if there...
Read more >
Show or Hide Missing Values or Empty Rows and Columns
When you drag the Worker field to the Rows shelf, the workers that didn't work are hidden by default. You can show the...
Read more >
Solved: PreviousQuarter measure/tile blank if no data yet
We have two tiles in our customer complaint report. The previous quarter tile is blank unless there is some data for the current...
Read more >
Intro to dashboard tiles for Power BI designers - Microsoft Learn
This article describes dashboard tiles in Power BI, which includes tiles that are created from a report, dashboard, the Q&A box, Excel, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found