0

Yesterday a colleague was dealing with an issue with a p:dataTable compoment he finally solved it by adding the property nativeelements="true" into it.

Neither of us could find what this property does, he just copied it from another datatable from the same application, so I was wondering what does the "nativeelements" property do, where does it come from and which components have also this property?

As said before, I couldn't find anything in the documentation. I also googled a lot and searched in SO and the only answer I could find containing the keyword "nativeelements" whas this

I'd be very thankful if someone could explain this.

Kukeltje
  • 12,223
  • 4
  • 24
  • 47
Isidro.rn
  • 195
  • 1
  • 12
  • 1
    Sorry, you cannot be serious. The 6.1 docs contains an description of the attributre. If no other components have this in the docs, it is just not there. And google gave me almost a dozen of hits... And if you remove it and look at the differences in the browser you'll get a hint too... – Kukeltje Feb 22 '18 at 08:43
  • 1
    Is this a joke? I swear i've been a while searching and couldn't find it. Please close the question before my rep goes to hell – Isidro.rn Feb 22 '18 at 08:54
  • Lol! Casted a sympathy upvote :-) – Jasper de Vries Feb 22 '18 at 10:49

1 Answers1

1

From PrimeFaces User Guide (6.1):

nativeElements: Uses native radio-checkbox elements for row selection.

Alex Fire
  • 707
  • 3
  • 7