basegridcolumn
can be used in
basegrid
s or grid
s to
customize the look of both the column header and the row contents for
that column. In cases where a standard column header look is desired,
but the contents may vary, use gridcolumn
.
The placement of "header" can be used to place nodes in the header
of the grid, and the default placement for the class will place things
in the row. See the example in basegrid
.
Name (CSS property) | Type (tag) | Type (js) | Default | Category |
---|---|---|---|---|
ascendComparator
|
expression | any | null | read/write |
An optional method. If defined, this method will be used when the column is sorted when ascendsort is set to true. This method should have the comparator signature. It should accept to string argument and return 1, 0 , or -1, indicating that the two arguments are in order, equivalent, or out of order, respectively. | ||||
ascendsort
|
expression | any | true | read/write |
If true, the next sort will be ascending, otherwise it will be descending. | ||||
colwidth
|
expression | any | this.width | read/write |
The current width of the column. | ||||
datatype
|
string | String | string | read/write |
Either "number" or "string". If "string", then dictionary sort is used. If "number", then types are coerced to a number before sorting. | ||||
descendComparator
|
expression | any | null | read/write |
An optional method. If defined, this method will be used when the column is sorted when ascendsort is set to false. This method should have the comparator signature. It should accept to string argument and return 1, 0 , or -1, indicating that the two arguments are in order, equivalent, or out of order, respectively. | ||||
hasSort
|
boolean | boolean | false | readonly |
Set by doSort() method. If true, then this is the current
sort column.
|
||||
minwidth
|
number | Number | 10 | read/write |
The minimum width for this column. This is relevant if the column can be resized. | ||||
sortpath
|
string | String | read/write | |
An xpath expression to use to determine the sort key for this column. By default, this is the column's datapath's xpath. | ||||
text
|
text | String | this.datapath? this.datapath.xpath : '' | read/write |
By default, the text of this element is the column's datapath. |
doesenter, enabled, hasdefault, isdefault, style, styleable, text
aaactive, aadescription, aaname, aasilent, aatabindex, align, backgroundrepeat, bgcolor, cachebitmap, capabilities, clickable, clickregion, clip, colortransform, context, contextmenu, cornerradius, cursor, fgcolor, focusable, focustrap, font, fontsize, fontstyle, frame, framesloadratio, hasdirectionallayout, hassetheight, hassetwidth, height, layout, loadratio, mask, opacity, pixellock, playing, proxyurl, resource, resourceheight, resourcewidth, rotation, shadowangle, shadowblurradius, shadowcolor, shadowdistance, showhandcursor, source, stretches, subviews, tintcolor, totalframes, unstretchedheight, unstretchedwidth, usegetbounds, valign, visibility, visible, width, x, xoffset, xscale, y, yoffset, yscale
classroot, cloneManager, data, datapath, defaultplacement, id, ignoreplacement, immediateparent, inited, initstage, name, nodeLevel, options, parent, placement, styleclass, subnodes, transition
Methods
acceptValue, doEnterDown, doEnterUp, doSpaceDown, doSpaceUp, presentValue, setStyle, setTint, updateDefault
bringToFront, containsPt, getAttributeRelative, getBounds, getColor, getColorTransform, getCurrentTime, getDepthList, getDisplayObject, getID3, getMouse, getNextSelection, getPan, getPrevSelection, getProxyURL, getTotalTime, getVolume, init, isBehind, isInFrontOf, isMouseOver, measureHeight, measureWidth, play, proxyurl, searchSubviews, seek, sendAAEvent, sendBehind, sendInFrontOf, sendToBack, setAccessible, setAttributeRelative, setColor, setColorTransform, setPan, setProxyPolicy, setSource, setVolume, shouldYieldFocus, stop, unload, updateResourceSize
animate, applyConstraintMethod, applyData, childOf, completeInstantiation, construct, createChildren, dataBindAttribute, destroy, determinePlacement, getOption, getUID, init, lookupSourceLocator, releaseConstraint, releaseConstraintMethod, searchImmediateSubnodes, searchSubnodes, setOption, setSelected, updateData
Events
onaddsubview, onbackgroundrepeat, onblur, onclick, onclickable, onclip, oncontext, oncornerradius, ondblclick, onerror, onfocus, onframe, onframesloadratio, ongesture, onheight, onkeydown, onkeyup, onlastframe, onload, onloadratio, onmousedown, onmousedragin, onmousedragout, onmouseout, onmouseover, onmousetrackout, onmousetrackover, onmousetrackup, onmouseup, onmouseupoutside, onopacity, onplay, onplaying, onremovesubview, onshadowangle, onshadowblurradius, onshadowcolor, onshadowdistance, onstop, ontimeout, ontouch, onvisible, onwidth, onx, ony
Copyright © 2002-2010 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.