DHTMLX Docs & Samples Explorer

Index
dhtmlxaccordion

# dhtmlxAccordion API Methods

#### dhtmlXAccordionItem Object

- attachAccordion - attaches dhtmlxAccordion to a cell
- attachChart - attaches dhtmlxChart to a cell
- attachEditor - attaches dhtmlxEditor to a cell
- attachFolders - attaches dhtmlxFolders to a cell
- attachForm - attaches dhtmlxForm to a cell
- attachGrid - attaches dhtmlxGrid to a cell
- attachMap - attaches Google Maps to a cell
- attachLayout - attaches dhtmlxLayout to a cell
- attachMenu - attaches dhtmlxMenu to a cell
- attachObject - attaches html object to a cell
- attachStatusBar - attaches status bar to a cell
- attachTabbar - attaches dhtmlxTabbar to a cell
- attachToolbar - attaches dhtmlxToolbar to a cell
- attachTree - attaches dhtmlxTree to a cell
- attachURL - attaches dhtmlxURL to a cell
- clearIcon - clears an item's icon
- close - closes an item
- dock - docks an item from the window
- getId - returns an item's id
- getText - returns item's text
- hide - hides an item
- isOpened - returns true if an item is opened
- moveOnTop - move an item on the top
- open - opens an item
- setHeight - sets item's height for multimode
- setIcon - sets an item's icon (header icon)
- setText - sets item's text
- show - shows an item
- undock - undocks an item to the window

#### dhtmlXAccordion Object

- addItem - adds a new item
- attachEvent - attaches an event handler to the accordion
- cells - returns the handler to an item by the id
- checkEvent - returns true if the event exists
- detachEvent - removes an event handler
- enableMultiMode - enables multimode in accordion (disabled by the default)
- forEachItem - iterator, calls a user-defined function n-times
- removeItem - removes an existing item
- setEffect - sets an effect
- setIconsPath - sets the path to icons
- setSizes - changes object instance's size according to the outer container
- unload - destructor