API
1 - 87 entries are shown from 87 total found
moveDown - increases the item index and moves the item to the new position
addBind - adds one more bound target
save - defines URLs for data saving
url - the URL which the component will use to load data after its initialization
hasEvent - checks whether the component has the specified event handler
count - returns the number of currently visible items
onBeforeCursorChange - fires before the cursor changes its position.
onBeforeSort - fires before sorting of the dataset
sync - allows syncing two copies of data (all or just a part of it) from one DataCollection to another
remove - removes the specified item/items from datastore
waitData - eventual result of an asynchronous operation ('promise' object) for the loaded data
getIdByIndex - returns the ID of the item with the specified index
updateItem - updates the data item with new properties
externalData - allows defining custom 'move' logic for the component.
getIndexById - returns the index of the item with the specified ID
on - allows attaching custom handlers to inner events of the component
getNextId - returns the ID of an item that is after the specified item, either directly after or after a number of items (defined by the step)
load - loads data from an external data source
getLastId - returns the ID of the last item
refreshCursor - force repainting of all bound components with current cursor value
onValidationError - fires when newly loaded/added/edited data fail to pass validation
exists - checks whether an item with the specified ID exists
blockEvent - temporarily blocks triggering of ALL events of the calling object
filter - filters the component
onAfterLoad - fires after data loading is complete
onAfterDelete - fires after an item is removed
onBeforeLoad - fires immediately before data loading has started
sort - sorts datastore
getCursor - returns the current cursor position.
moveUp - decreases the item index and moves the item to the new position
onAfterCursorChange - fires after the cursor changes its position.
moveBottom - moves the specified item to the last position
clearValidation - removes all validation marks from the component
config - all options from the initial component configuration
onLoadError - fires when an error occurs during data loading (invalid server side response)
find - returns all rows that match the criterion, or only the first one
unbind - breaks "bind" link
isVisible - returns true if current view is visible
attachEvent - attaches the handler to an inner event of the component
getItem - gets the object of the data item with the specified ID
defaultData - the property stores data which is displayed in the slave when no records are selected in the master
saveBatch - makes simultaneous saving of several components
map - defines data mapping
removeBind - disables data binding
validate - validates one record or all dataset against the validation rules
parse - loads data to the component from an inline data source
bind - binds components
waitSave - allows to catch the moment when a data operation was saved to the server
clearAll - removes all items from the component
unblockEvent - cancels events blocking that was enabled by the 'blockEvent' command
mapEvent - routes events from one object to another
ready - the event handler is called just after the component has been completely initialized
onBindUpdate - fires when data is changed in the slave and 'save()' is called to update the master.
serialize - serializes data to an array of JSON objects
define - redefines a single configuration property (or a object with properties)
onDataRequest - fires when data from the server is requested for linear data structures (List, DataTable, DataView etc.) to implement dynamic data loading
datathrottle - sets the polling interval (the time period between the completion of a network request and the next request for data)
onAfterAdd - fires after adding an item to the datastore
destructor - destructs the calling object
id - the ID of a widget
getPrevId - returns the ID of an item that is before the specified item, either directly before or before a number of items (defined by the step)
onBeforeDelete - fires before an item is removed
rules - set of validation rules for the component
copy - copies an item to the same or another object
detachEvent - detaches a handler from an event (which was attached before by the attachEvent method)
onAfterSort - fires after sorting dataset
setCursor - sets the position of the cursor
getBindData - fills the target object with data
removeMissed - defines how to treat items in case of reloading
getFirstId - returns the ID of the first item
refresh - repaints the whole view or a certain item
scheme - defines schemes for data processing
name - indicates the name of the component (a read-only property)
callEvent - calls an inner event
add - adds an item to the store
onBeforeAdd - fires before adding an item to the datastore
loadNext - sends a request to load the specified number of records to the end of the client-side dataset or to the specified position
onDestruct - occurs when component destroyed
onBindRequest - fires when the component is ready to receive data from the master component
onValidationSuccess - fires after the newlyloaded/added/edited data has passes validation successfully
data - inner DataStore
move - moves the specified item to a new position
dataFeed - alternative data source for filtered and bound data
setBindData - moves data from master to child
datatype - the type of loaded data
moveTop - moves the specified item to the first position
onDataUpdate - fires when a data item is being updated
Back to top