DataTable column with html text does not call select event

UI Components for JSF
Post Reply
bbf-it-gmbh
Posts: 5
Joined: 05 Nov 2018, 12:39

10 Jan 2019, 18:37

hello,

i try to display a font awesome icon in a datatable field like:

Code: Select all

<p:column>
    <i class="fa fa-fw fa-venus"></i>
</p:column>
Now if i try to select a row by clicking into the field (on the font awesome icon) the select event is not triggered.

I use Primefaces version 6.2.12

thanks guys

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

11 Jan 2019, 14:36

I think your issue may be related to this one: https://github.com/primefaces/primefaces/issues/3310

Related to which jquery selectors are being used to detect selection. Read through that thread there is a suggested fix of adding add style class "ui-c" to make it work?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests