SelectTwo Types
Command Messages for SelectTwo
Model structure needed for selectTwo, all records using selectTwo should have this structure
Structure created in users model when select2 is activated
Data to generate the dropdown
Grouped SelectTwoOption, first option in the tuple is the name of the group
Rows in a select table, first option is the command message to be sent, second is the html to be displayed, and third is the string to search on
Things needed to make Ajax calls
Parameters used in ajax calls
Config for SelectTwo used when initializing your select2 box