Adding <span> tag to p-cellEditor output template

UI Components for Angular
Post Reply
stefanhk
Posts: 1
Joined: 23 Jul 2019, 23:04

23 Jul 2019, 23:11

I'm trying to add a <span> tag to the output of <p-cellEditor>. So far, I've tried creating a new component, and giving it the following template:

Code: Select all

    <ng-template pTemplate="output">
        <span class="outputCell">
        </span>
    </ng-template>
This, however, doesn't render at all on screen. Is it possible to add HTML elements inside<p-cellEditor>? If so, what is the best approach?

Thanks!

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests