How to

Get Ribbon object

After Ribbon initialization, Ribbon object is stored in a container element of Ribbon and it can be accessed for further processing.

  • javascript
  • // "defaultRibbon" is Id of Ribbon control
    
    
        $(function () {
            var sample = new ej.Ribbon($("#defaultRibbon"), {
            });
        });