Smart Edit API

Provides run-time access to the Smart Edit function and Smart Edit State.

Smart Edit allows users - with a single action - to edit a cell (or group of cells in the same numeric column) using a mathmatical operation.

Smart Edit API Methods

MethodDescription
applySmartEdit(gridCells)Applies a Smart Edit to given Cells
getSmartEditOperation()Gets current Smart Edit Operation ('Add','Subtract','Multiply','Divide' or 'Replace')
getSmartEditState()Retrieves Smart Edit section from Adaptable State
getSmartEditValue()Returns current Smart Edit Value
setSmartEditOperation(operation)Sets operation to use in Smart Edit
setSmartEditValue(smartEditValue)Sets Smart Edit Value (e.g. to multiply by 10 then smartEditValue is 10)
showSmartEditPopup()Opens Smart Edit popup screen

See API documentation for full details of all available functions with lists of parameters

More Information