This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Empty result, send messenger to the user #13
Labels
Comments
Does this actually work? I cant seem to make it work. |
@Alex61NN5 can you provide some parts of your code? |
Worked for me! |
for future you, use the <tbody *ngIf="(events|filter:term) as rows">
<tr *ngFor="let row of rows; let i=index">
<!-- display your data here-->
</tr>
<!-- empty state i.e. when there is no data and user is searching-->
<ng-container *ngIf="isSearching && rows.length==0">
<tr class="no-data">
<td colspan="6" > No data matching the filter criteria</td>
</tr>
</ng-container>
</tbody> |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey guys,
if a result is empty, using is code
(events | filter: terms).length === 0
for exemple
Thanks a your plugin! it`s amazin :)
The text was updated successfully, but these errors were encountered: