MozillaZine

How to programmatically display the column picker on a tree

Talk about add-ons and extension development.
poleta33
 
Posts: 116
Joined: October 14th, 2004, 2:06 pm

Post Posted October 17th, 2016, 6:11 am

Hi all

my question is in the title, which function should I trigger ?

thanks

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted October 17th, 2016, 6:42 am

The picker shows by default. It can be hidden using the hidecolumnpicker attribute on the tree element.

poleta33
 
Posts: 116
Joined: October 14th, 2004, 2:06 pm

Post Posted October 17th, 2016, 6:44 am

thanks, but I want to show it according to certains actions... aren't there any myTree.displayColumnPicker() ?

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted October 17th, 2016, 1:06 pm

Just change the attribute. You don't need a function.

poleta33
 
Posts: 116
Joined: October 14th, 2004, 2:06 pm

Post Posted October 18th, 2016, 12:36 am

yes I need a function : I want to show the column picker if I right-click on the column header...

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 2 guests