Field Summary |
public static
| classInfo: Object |
| A static class information object
|
|
public
| styleClass: String |
| The name of the style class this instance will use.
|
|
| Fields inherited from class xp.controls.RowPanelcells, classInfo, columns, indent, indicator, indicatorWidth, isEditing, isInserting, selectMode, showItemIndex, styleClass |
|
| Fields inherited from class xp.controls.Container__showStatusBar, __showTitleBar, acceptButton, cancelButton, children, classInfo, controlBar, controls, dataSource, enableBGMouseEvents, initialFocusControl, isRoot, lastFocus, layoutDescriptor, layoutId, layoutManager, rootContainer, styleClass, symbolId, tabList, tabModeWrap |
|
| Fields inherited from class xp.system.UIControl__layout, allowDrop, autoLayout, bindingDefaultValue, bindingFormatter, bindingPath, bindingSource, bindingType, bindingValidator, border, causesValidation, classInfo, clickOnENTER, clickOnSPACE, container, context, data, disableAcceptButton, disableCancelButton, enableBGMouseEvents, enableDblClickEvent, enableKeyDownEvents, enableKeyEvents, enableKeyUpEvents, enableMouseWheelEvents, formatterOptions, horizontalAlignment, index, isBinding, itemId, logEnabled, parent, parentContainer, parentForm, percentageHeight, percentageWidth, styleClass, tabIndex, tabStop, tooltip, tree, verticalAlignment |
|
Property Summary |
public
| isEditing: Boolean (read, write) |
| is this row being edited*
|
|
|
| Properties inherited from class xp.controls.ContainerchildCount, footerHeight, headerHeight, innerBackground, innerBackgroundVisible, innerBorderBrush, innerBorderRadius, innerBorderStyle, innerBorderThickness, numChildren, showStatusBar, showTitleBar, status, title |
|
| Properties inherited from class xp.system.UIControlalpha, autosize, background, backgroundVisible, bindings, borderBrush, borderRadius, borderShadow, borderStyle, borderThickness, bottom, dataSource, enableMouseEvents, focusManager, height, id, isEnabled, isFocused, isMouseOver, isPressed, isSelected, isValid, layout, left, margin, maxHeight, maxWidth, measuredHeight, measuredMinHeight, measuredMinWidth, measuredWidth, minHeight, minWidth, padding, readOnly, resources, right, styleName, top, triggers, visible, width, x, y |
|
Constructor |
public
| RowEditor (
)
|
| Constructor - This should not be called directly.
|
|
Method Summary |
public
| beginEdit (
itemIndex: Number, columnIndex: Number
): Void |
| Called by the host when starting to edit a new row*
|
|
public
| endEdit (
save: Boolean
): Void |
| Called by the host when finished to edit the row*
|
|
public
| getCellItem (
index: Number
): Object |
| returns the control in a cell
|
|
public
| getClass (
): Function |
| Returns a reference to the components static class
|
|
public
| hideEditor (
save: Boolean
): Boolean |
| Ends the editing session and hides the row editor
|
|
public
| processEnterKey (
) |
| Process enter key event
|
|
public
| processEscapeKey (
) |
| Process escape key event
|
|
public
| processTabKey (
) |
| Process tab key event
|
|
public
| showEditor (
itemsSource: Object, itemIndex: Number, columnIndex: Number
): Boolean |
| Starts an editing session and shows the row editor
|
|
|
| Methods inherited from class xp.controls.ContaineraddChild, addChildren, addControlBar, clearAll, createChild, destroyChildAt, getChild, getChildAt, getChildFromMouse, getClass, getFooterHeight, getHeaderHeight, getNextControl, getUIBuilder, getViewMetrics, initLayoutManager, onChildFocus, processEnterKey, processEscapeKey, registerChild, selectNextControl, setDataContext, setFocus, setMeasuredMinSize, setMeasuredSize, unregisterChild |
|
| Methods inherited from class xp.system.UIControladdBinding, addBindings, addEventListener, addPropertyTrigger, applyStyle, beginDeferUpdate, canUpdate, centerContent, checkState, containsFocus, destroy, destroyObject, drawFocus, endDeferUpdate, findFocusFromObject, findFocusInChildren, getBinding, getBounds, getCenter, getClass, getFocus, getFocusManager, getFocusRect, getLocation, getPropertyValue, getSize, getStateName, getTrigger, globalToLocalPoint, invalidate, invalidateLayout, invalidateSize, invalidateSizeAndLayout, invalidChild, isChild, isMouseDirectlyOver, isParent, localToGlobalPoint, localToLocalPoint, measure, mouseWheel, move, onChildFocus, onKillFocus, onSetFocus, processEnterKey, processEscapeKey, processTabKey, redraw, refresh, removeEventListener, routeEvent, setBounds, setFocus, setLocation, setPropertyValue, setSize, setValueChanged, update, validate |
|
|