This Zen component displays a set of text buttons displayed
within a table. The number of columns is determined by the
The contents of the buttonView are provided via the user-defined OnGetButtonInfo callback.
This component is typically used to display progressive filter buttons that allow a user to narrow down a search.
Optional. Name of Server-side callback method that provides the list of items to display for this component. property columns as %ZEN.Datatype.integer(MINVAL=1) [ InitialExpression = 4 ];
This method should return an array, indexed by button number, that defines the category, caption, value, and (optional) tooltip for each button. You can also provide an optional, disabled flag, which, it true will make the button disabled in all cases. The array takes the form:
When the user selects a button, all other buttons of the same category are disabled (unless category is ""). Pressing the Reset button restores clears all the selections.Set pInfo(n) = $LB(category,caption,value,tooltip,disabled)
This must be the name of a server-only method in the page class that contains this view component.
Number of columns of buttons to display. property onselect as %ZEN.Datatype.eventHandler;
onselect event handler: If defined, this event is fired when the user selects a new button. The variable, value is passed to the event handler and contains the current value of this component (same as the value property). property seed as %ZEN.Datatype.string(ZENEXPRESSION=1);
Optional. User-defined seed value. This is an optional parameter that is passed on to the OnGetButtonInfo callback method. property value as %ZEN.Datatype.string;
A string containing the current selected values. This takes the form: "category:value;"
The %DrawHTML method draws the initial HTML for this component. method %GetButtonInfo(ByRef pInfo) as %Status
Reset state of buttons.