DHTMLX Touch documentation

template_view

Methods

  • attachEvent - attach custom handler to inner event
  • block - stop event calls until unblocking
  • callEvent - calls inner event
  • define - sets configuration property or a hash of properties
  • destructor - destructs the object
  • detachEvent - detach custom code from handler
  • getNode - gets html object of a view
  • getParent - gets a parent view
  • load - loads values from external datasource
  • mapEvent - route events from one object to another
  • parse - added data from a datasource
  • render - renders a single item
  • resize - recalculates and adjusts view sizes
  • show - shows a view
  • unblock - restore normal event processing

Events

Properties

  • container - html container or its id where view needs being initialized
  • id - view id
  • css - class name for view container
  • width - view width
  • height - view height
  • gravity - view gravity (1 by default)
  • data - loaded data
  • url - data url
  • datatype - type of loaded data
  • template - item template