Link or Button or Html text in Datatable Column header

UI Components for React
Post Reply
serega063
Posts: 2
Joined: 07 Oct 2019, 14:37

07 Oct 2019, 14:44

Hello,
How can i add link or button or html text in Datatable Column header

This code doesn't work, because dangerouslySetInnerHTML

Code: Select all

<Column header={<a href="#">price</a>'} />

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests