Check documentation for the latest version of dhtmlxSuite setCellSize DHTMLX Docs

setCellSize

sets width and height of the cell

void setCellSize(string|number width,string|number height);
widthstring|numbernumber for exact width or "auto" for auto-adjust
heightstring|numbernumber for exact height or "auto" for auto-adjust

Example

myCarousel.setCellSize(width, height);

Details

auto-adjusting calculates width and height depending on the specified left and top offsets

Back to top