Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%CSP] >  [UI] >  [Component] >  [SelectBoxUtils]
Private  Storage   

abstract class %CSP.UI.Component.SelectBoxUtils

Utility methods for "available-selected" list box components If isPage = 1, the list boxes are drawn on a page, not as part of a component

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 2 11


Summary

Properties
avaList selList

Methods
DrawArrows DrawArrowsOld DrawAvailableList DrawSelectList
DrawUpArrowsOld clearList doSelectBoxMove doSelectBoxMoveAll
doSelectBoxMoveItem doSelectBoxMoveList getSelList

Subclasses
%CSP.UI.Component.RoleMemberTab %CSP.UI.Component.SQLPrivileges %CSP.UI.Component.SQLTables
%CSP.UI.Component.abstractRoleTab %CSP.UI.Portal.Dialog.ColumnPriv %CSP.UI.Portal.Dialog.MLConfigurationPriv
%CSP.UI.Portal.Dialog.SchemaPriv %CSP.UI.Portal.Dialog.Service %CSP.UI.Portal.OAuth2.Server.Configuration

Parameters

• parameter avaList = "avaList";
• parameter selList = "selList";

Properties

• property avaList as %String [ InitialExpression = ..#avaList ];
• property selList as %String [ InitialExpression = ..#selList ];

Methods

• classmethod DrawArrows(index As %String = "", isPage As %Boolean = 0) as %Status
Draw arrows between Available and Selected list boxes.
• classmethod DrawArrowsOld()
Draw arrows between Available and Selected list boxes. Generic method used by other wizards
• method DrawAvailableList(index As %String = "", isPage As %Boolean = 0) as %Status
Draw the beginning of the Available list box
• method DrawSelectList(index As %String = "", isPage As %Boolean = 0, SelectedItems As %String = "") as %Status
Draw the end of the Available list box, the arrows, and the Selected list box
• classmethod DrawUpArrowsOld()
Draw up and down arraws next to the Selected list box Generic method used by other wizards
• method clearList(listID, isPage) [ Language = javascript ]
Clear all options from a box (except for the first, instructional one)
• method doSelectBoxMove(flag, isPage) [ Language = javascript ]
• method doSelectBoxMoveAll(from, to) [ Language = javascript ]
• method doSelectBoxMoveItem(list, bUp) [ Language = javascript ]
• method doSelectBoxMoveList(from, to) [ Language = javascript ]
• method getSelList(delim, includeLeadingDelim, isPage) [ Language = javascript ]
Return a delimited string of selected items


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.