dhx.DataCollection

Methods

  • attachEvent - attaches custom handler to inner event
  • bind - binds components
  • blockEvent - blocks event triggering
  • callEvent - calls inner event
  • define - sets configuration property or a hash of properties
  • detachEvent - detaches custom code from handler
  • hasEvent - checks whether a component has an event
  • isVisible - returns true if current view is visible
  • load - loads values from external datasource
  • loadNext - sends request to load N records to the end or to the specified position
  • mapEvent - routes events from one object to another
  • parse - addes data from a datasource
  • refresh - repaints the whole view or a certain item
  • unblockEvent - enables event triggering

Events

  • onxle - fires after xml loading end
  • onxls - fires before xml loading start

Properties

  • dataFeed - path to php file that will get data. Used to reload data from server.
  • data - loaded data
  • datastore - custom DataStore object
  • datatype - type of loaded data
  • on - allows to attach custom handlers to inner events of the component
  • scheme - defines a default scheme for data records of the component. So, in cases when you add an empty record to the component, the record will be populated with the values set by the scheme.
  • url - data url