%ZEN.Component.repeatingGroup
deprecated class %ZEN.Component.repeatingGroup extends %ZEN.Component.group, %ZEN.Component.querySource
A specialized group that repeats its contents based on run-time data.A repeating group executes a query and, for each row of the results, creates HTML for all of the members of the group. For example:
<repeatingGroup sql="SELECT Name FROM Sample.Person"> <button caption="Press" onclick="alert('#(%query.Name)#');"/> </repeatingGroup>
Applications should keep use of repeatingGroups reasonably simple. Repeating groups within repeating groups are not supported.
Property Inventory
Method Inventory
Properties
property onclickitem as %ZEN.Datatype.eventHandler;
onclickitem event handler:
If defined, this event is fired when
the user clicks on an item within the repeating group.
Property methods: onclickitemDisplayToLogical(), onclickitemGet(), onclickitemIsValid(), onclickitemLogicalToDisplay(), onclickitemLogicalToOdbc(), onclickitemNormalize(), onclickitemSet()
property parameters as list of %ZEN.Auxiliary.parameter (XMLNAME = "parameter", XMLPROJECTION = "ELEMENT");
User-defined list of parameters. These values are passed on
to the user callback function that provides the query for this table.
Property methods: parametersBuildValueArray(), parametersCollectionToDisplay(), parametersCollectionToOdbc(), parametersDisplayToCollection(), parametersGet(), parametersGetObject(), parametersGetObjectId(), parametersGetSwizzled(), parametersIsValid(), parametersOdbcToCollection(), parametersSet(), parametersSetObject(), parametersSetObjectId()
property selectedIndex as %ZEN.Datatype.integer [ InitialExpression = -1 ];
Indicates which member (0-based) of this repeating group is selected, if any.
Property methods: selectedIndexDisplayToLogical(), selectedIndexGet(), selectedIndexIsValid(), selectedIndexLogicalToDisplay(), selectedIndexLogicalToOdbc(), selectedIndexNormalize(), selectedIndexSet()
Methods
method %DrawHTML()
Draw contents of the group.
clientmethod itemClickHandler(tuple) [ Language = javascript ]
User has clicked on a member of this repeating group.
tuple is 0-based.
clientmethod selectItem(tuple) [ Language = javascript ]
Select a member of this repeating group. tuple
specifies which member (0-based).
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- OnCreateResultSet
- OnExecuteResultSet
- align
- aux
- cellAlign
- cellSize
- cellStyle
- cellVAlign
- children
- columnName
- composite
- containerStyle
- countRows
- disabled
- dragEnabled
- dropEnabled
- enclosingClass
- enclosingStyle
- error
- groupByClause
- groupClass
- groupStyle
- height
- hidden
- hint
- hintClass
- hintStyle
- id
- index
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- maxRows
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- orderByClause
- parent
- queryClass
- queryName
- showLabel
- slice
- sql
- tableName
- title
- tuple
- valign
- visible
- whereClause
- width
- window
Inherited Methods
- %AddChild()
- %AddChildAfter()
- %AddChildBefore()
- %AddToSaveSet()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %CreateResultSet()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawComponentHTML()
- %DrawJSStrings()
- %EnclosingDivId()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetChildIndex()
- %GetEventHandlers()
- %GetParameter()
- %GetXMLName()
- %IsA()
- %IsModified()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnCreateResultSet()
- %OnDrawEnclosingDiv()
- %OnDrawObjectProperties()
- %OnExecuteResultSet()
- %OnMutateChildren()
- %OnObjectSynch()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveChild()
- %RemoveChildren()
- %RemoveFromSaveSet()
- %Self()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- childrenMutated()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- exposeComponent()
- findElement()
- fireOnUpdateEvent()
- getChildIndex()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getProperty()
- getSettings()
- getType()
- invokeSuper()
- isOfType()
- makeId()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onStartModalHandler()
- ondisabledHandler()
- onloadHandler()
- onunloadHandler()
- onupdateHandler()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- setHidden()
- setOverlayMode()
- setPropertyAll()
- startProgressBar()
- stopProgressBar()