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

EmptyMessage template for DataTable #3470

Closed
Ketec opened this issue Jul 21, 2017 · 0 comments
Closed

EmptyMessage template for DataTable #3470

Ketec opened this issue Jul 21, 2017 · 0 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@Ketec
Copy link

Ketec commented Jul 21, 2017

There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[ x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior
Message is added as text.
<td [attr.colspan]="dt.visibleColumns().length" class="ui-datatable-emptymessage">{{dt.emptyMessage}}</td>

Expected behavior
Message is added to the innerHTML allowing message templating (bold text, new lines, colored text etc)

            <td [attr.colspan]="dt.visibleColumns().length" class="ui-datatable-emptymessage">
                <div [innerHTML]="dt.emptyMessage"></div>
            </td>
@cagataycivici cagataycivici changed the title Datatable empty message allow html EmptyMessage template for DataTable Aug 23, 2017
@cagataycivici cagataycivici added this to the 4.2 milestone Aug 23, 2017
@cagataycivici cagataycivici self-assigned this Sep 12, 2017
@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

2 participants