Check documentation for the latest version of dhtmlxSuite addCell DHTMLX Docs

addCell

adds a new cell to the carousel

void addCell(string|number id,number index);
idstring|numberid of a new cell
indexnumberindex of a new cell

Example

myCarousel.addCell(id, index);
 
// or with autogenerated id
var id = myCarousel.addCell();

Details

if id for a cell is not specified, carousel will generate it

Back to top