Change the position of checkbox in Tree

UI Components for Angular
Post Reply
naveen.nagar
Posts: 1
Joined: 30 Apr 2021, 10:56

30 Apr 2021, 11:02

Hi

I am new to PrimeNg. I was trying to consume Tree and exploring its various capabilities.
By Default, I can see the structure of tree node is as follows:
Expand/Collapse Icon -> Chekbox -> Icon -> Label

Is it possible to have Checkbox, before Expand/Collapse Icon. Can anyone please share snippet for the same.

Regards
Naveen

PhilHuhn
Posts: 177
Joined: 19 Sep 2018, 02:52
Location: Ann Arbor, Michigan USA
Contact:

30 Apr 2021, 21:26

Hey:
The source for all of the components are available on GitHub. The source for tree component is as follows:

https://github.com/primefaces/primeng/b ... ee/tree.ts

I did not see anything in the documentation nor in the source code that configuring the position of the display of the icon.

Phil

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests