DHTMLX Docs & Samples Explorer

Index
dhtmlxaccordion

## dhtmlxAccordion API Methods

#### dhtmlXAccordionItem Object

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

#### dhtmlXAccordion Object

- addItem adds a new item
- attachEvent attaches an event handler to the accordion
- cells returns the handler to an item by 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
- setIconsPath sets path to icons
- setSizes changes object instance's size according to the outer container
- unload destructor