DHTMLX Docs & Samples Explorer

API methods

  • attachEvent - attaches handler for a custom event.
  • clearAll - clears a dataset.
  • copy - creates a copy of the item.
  • dataCount - returns size of a dataset.
  • detachEvent - detaches handler from a custom event.
  • exists - checks if an item with the defined id exists.
  • filter - filters a dataset.
  • first - gets ID of the first item.
  • idByIndex - returns an item's ID by the index.
  • indexById - returns an item's index by the ID.
  • item - returns hash of data related to the specific item.
  • last - gets ID of the last item.
  • load - adds data from an external URL.
  • next - gets the next ID.
  • parse - adds data from a string or an object.
  • previous - gets the previous ID.
  • remove - removes item by the ID.
  • set - associates hash of data with ID.
  • sort - sorts a dataset.