DHTMLX Docs & Samples Explorer

Index
dhtmlxdataview

## API

- attachEvent - attaches handler for the custom event
- clearAll - clears dataset
- copy - creates a copy of an item
- dataCount - returns size of dataset
- unselectAll - unselects all items
- unselect -unselects an item
- detachEvent - detaches handler from the custom event
- edit - switches selected item to the edit state
- config - switches configuration property to positive value
- 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
- customize - updates settings of the active template