Documentation

Methods

add adds an item to the store
addBind adds one more bound target
attachEvent attaches the handler to an inner event of the component (allows behaviour customizations)
bind binds components
blockEvent temporarily blocks triggering of ALL events of the calling object
callEvent calls an inner event
clearAll removes all items from the component
clearValidation removes all validation marks from the component
count returns the number of currently visible items
define redefines a single configuration property (or a hash of properties)
destructor destructs the calling object
detachEvent detaches a handler from an event (which was attached before by the attachEvent method)
exists checks whether an item with the specified id exists
filter filters the component
getBindData fills the target object with data
getCursor returns the current cursor position.
getFirstId returns the ID of the first item
getIdByIndex returns the id of the item with the specified index
getIndexById returns the index of the item with the specified id
getItem gets the object of the data item with the specified id
getLastId returns the id of the last item
getNextId returns the ID of an item which is positioned the specified step after the specified item
getPrevId returns the ID of an item which is positioned the specified step before the specified item
hasEvent checks whether the component has the specified event
isVisible returns true if current view is visible
load loads data from an external data source.
loadNext sends a request to load the specified number of records to the end of the clientside dataset or to the specified position
mapEvent routes events from one object to another
parse loads data to the component from an inline data source
refresh repaints the whole view or a certain item
refreshCursor force repainting of all bound components with current cursor value
remove removes the specified item from datastore
removeBind disables data binding
saveBatch makes simultaneous saving several components
serialize serializes data to a JSON object
setBindData moves data from master to child
setCursor sets the position of the cursor
sort sorts datastore
sync allows syncing two copies of data (all or just a part of it) from one DataCollection to another
unbind breaks "bind" link
unblockEvent cancels blocking events that was enabled by the 'blockEvent' command
updateItem sets properties of the data item
validate validates one record or all dataset against validation rules
Back to top