%ZEN.Auxiliary.gridColumnDescriptor
Class %ZEN.Auxiliary.gridColumnDescriptor Extends %ZEN.Component.object [ Deprecated, System = 3 ]
Defines a column descriptor within a %ZEN.Component.dataGrid component.
Parameters
XMLNAME
Parameter XMLNAME = "columnDescriptor";
Properties
type
Property type As %ZEN.Datatype.string(VALUELIST = ",string,image,button,checkbox,link,lookup,user", XMLPROJECTION = "attribute") [ InitialExpression = "string" ];
Type of this column. This is used to determine what kind of editing can occur within this cell when the dataGrid is in "cells" mode.
"string" -- display a string value and edit as a string.
"image" -- display an image (using the url in the image property).
"button" -- display a button. You must implement an onaction handler for this to take effect.
"checkbox" -- display a checkbox.
"link" -- display an HTML link. You must implement an onaction handler for this to take effect.
"lookup" -- display a lookup control. You must implement an ongetlookupdata handler for this to take effect.
"user" -- display arbitary HTML as defined by the ondrawcell callback.
columns
Property columns As list Of %ZEN.Auxiliary.gridColumnDescriptor(XMLPROJECTION = "ELEMENT", XMLREF = 1, XMLTYPECONSTRAINT = "CHOICE", ZENSETTING = 0);
Optional child descriptors for this column.
caption
Property caption As %ZEN.Datatype.caption(XMLPROJECTION = "attribute");
Optional caption to apply to this element.
value
Property value As %ZEN.Datatype.string(XMLPROJECTION = "attribute");
Optional default value for this column.
This can be a literal value or an expression: "=[@Name]"
format
Property format As %ZEN.Datatype.string(XMLPROJECTION = "attribute");
Optional format to apply to this element.
style
Property style As %ZEN.Datatype.string(XMLPROJECTION = "attribute");
Style string for this column.
headerStyle
Property headerStyle As %ZEN.Datatype.string(XMLPROJECTION = "attribute");
Style string to apply to the header for this column.
align
Property align As %ZEN.Datatype.string(VALUELIST = ",left,right,center", XMLPROJECTION = "attribute");
Optional horizontal alignment to apply to this column. Use this rather than the style property.
headerAlign
Property headerAlign As %ZEN.Datatype.string(VALUELIST = ",left,right,center", XMLPROJECTION = "attribute");
Optional horizontal alignment to apply to the header for this column. If not defined, then the align is used.
Use this rather than the style property.
priority
Property priority As %ZEN.Datatype.integer(MAXVAL = 2, MINVAL = 0, XMLPROJECTION = "attribute");
Optional priority to apply to this element.
readOnly
Property readOnly As %ZEN.Datatype.boolean(XMLPROJECTION = "attribute");
Optional readOnly attribute to apply to this element.
width
Property width As %ZEN.Datatype.length(XMLPROJECTION = "attribute");
Optional default minimum width to apply to this column (in pixels - no units need be supplied) upon initial rendering. The actual width may be adjusted higher as needed depending on the actual widths of data in the cells themselves. This setting does not preclude the end user from manually resizing the column width to a smaller value.
height
Property height As %ZEN.Datatype.length(XMLPROJECTION = "attribute");
Optional height to apply to this element.
image
Property image As %ZEN.Datatype.uri(XMLPROJECTION = "attribute");
For image columns, this is the name of the image to display.
hidden
Property hidden As %ZEN.Datatype.boolean(XMLPROJECTION = "attribute") [ InitialExpression = 0 ];
Do not show this column.
ongetlookupspec
Property ongetlookupspec As %ZEN.Datatype.eventHandler(XMLPROJECTION = "attribute");
This event is used to compute the lookup (popup) information for this column.!!!