Broadcast on Sort for Tables: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
This lets the modeller know the user's preferred sort order for the table.
This lets the modeller know the user's preferred sort order for the table.


The broadcast is sent with _sort1, _sort2 etc set
The broadcast is sent with _sort1, _sort2 etc set to the columns that were sorted over.


see [[System Broadcast Reference]]
see [[Broadcast tuple Reference]] for the current fields


Each attribute is the column number (starting at 1) or 0 if not set. If the reverse sort order was selected, the attribute is the -ve column number.
Each attribute is the column number (starting at 1) or 0 if not set. If the reverse sort order was selected, the attribute is the -ve column number.
Line 18: Line 18:
[[Category:Sorting]]
[[Category:Sorting]]
[[Category:Table]]
[[Category:Table]]
[[Category:Fact]]

Revision as of 15:00, 12 January 2008

An option on table views enables a broadcast to be sent after the user sorts the table view by clicking on it and selecting "Sort"

This lets the modeller know the user's preferred sort order for the table.

The broadcast is sent with _sort1, _sort2 etc set to the columns that were sorted over.

see Broadcast tuple Reference for the current fields

Each attribute is the column number (starting at 1) or 0 if not set. If the reverse sort order was selected, the attribute is the -ve column number.




idkbase note 123