Skip to main content
Participating Frequently
August 8, 2008
Question

TreeView as report

  • August 8, 2008
  • 3 replies
  • 303 views
Is there a way to add column heads to a TreeViewWidget that accepts clicks to resort by column?

thanks,
Liz
This topic has been closed for replies.

3 replies

Inspiring
August 12, 2008
With the indesign SDK there seems to always be another way ;-).

I believe you should be able to use a shadow event handler 'pattern' on any object type - say a text item, and from that trigger your model sort etc based on one of the events there.

Ian
Participating Frequently
August 11, 2008
I have done that. On the Mac, the buttons do not look like clickable column heads, but big buttons. I was hoping there was another way.

thanks,
Liz
Inspiring
August 8, 2008
It is up to you to create such a thing. The column headers could be e.g. buttons on the panel, etc. Then it is up to you how the data is transferred from the model to the display by your implementation of the model, hierarchy adapter and widget manager.

Ian