Hi Damien,
Thank you for contacting Syncfusion support.
We have checked your reported query and your requirement ‘To enable the ribbon in a collapsed state’ can be achievable by using ‘collapse()’ client-side method from ejRibbon instance in Spreadsheet. Please refer the following code example.
<div id="Spreadsheet"></div>
$(function () {
$("#Spreadsheet").ejSpreadsheet({
//...
loadComplete: "onLoadComplete"
});
});
function onLoadComplete(args) {
//Collapse ribbon option
$("#" + this._id + "_Ribbon").data("ejRibbon").collapse();
}
|
Demo sample:
Regards,
Silambarasan