Link or Button or Html text in Datatable Column header

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

07 Oct 2019, 14:44

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 1 guest