DHTMLX Docs & Samples Explorer

API

  • attachEvent - attaches handler for the custom event
  • bind - binds components
  • clearAll - clears dataset
  • copy - creates a copy of an item
  • customize - updates settings of the active template
  • dataCount - returns size of dataset
  • detachEvent - detaches handler from the custom event
  • edit - switches selected item to the edit state
  • exists - checks if an item with defined id exists
  • filter - filters dataset
  • first - gets ID of the first item
  • getSelected - returns id of selected item
  • get - returns hash of data associated with ID
  • idByIndex - returns item ID by index
  • indexById - returns items index by ID
  • isSelected - checks if an item is selected or not
  • last - gets ID of last item
  • load - adds data from an external URL
  • locate - locates an item by DOM event
  • moveBottom - moves an item to the last position
  • moveDown - moves an item to the down
  • moveTop - moves an item to the first position
  • moveUp - moves an item to the upper position
  • move - moves an item to the different position
  • next - gets the next ID
  • parse - adds data from string or object
  • previous - gets the previous Id
  • refresh - forces data repainting
  • selectAll - selects all items
  • select - selects an item
  • set - associates hash of data with ID
  • show - shows an item ( adjusts scrolls to make an item visible )
  • sort - sorts dataset
  • stopEdit - switches items in the edit state, back to normal
  • unselectAll - unselects all items
  • unselect -unselects an item