LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

EVENT_SORT for table control

Hello,

 

the built-in sort popup of a table control is quite convenient, allowing to sort columns without any programming Smiley Happy However, imho it would be useful to allow notifying the program of such a sort event. It appears though, that the EVENT_SORT is available only for tree controls... As a consequence, if I would like to be notified I need to use the function SortTableCells and do everything myself.

 

Is there a more convenient workaround?

 

And just out of curiosity, why is there no sort event for the table control?

 

Wolfgang

0 Kudos
Message 1 of 3
(2,702 Views)

You could use a tree instead. You can configure a tree with multiple columns to look like a table. Check out the attached uir.

0 Kudos
Message 2 of 3
(2,697 Views)

Thank you, jared, for the visual comparison!

 

For the short term this is not an option for me - I have just started to familiarize myself with the table control, and the tree control seems even more complex... It appears to be a superset - is there anything that the table control can do what the tree can't achieve?

 

For the not so short term I have filed a product suggestion here

 

Thanks, Wolfgang

0 Kudos
Message 3 of 3
(2,672 Views)