| Name | Type | Default | 
                
                    | animationType | String | 'fade' | 
                
                    | 
                            
                                Sets or gets the animation type.
                             Possible values:
                                "fade"
                             
                                "slide"
                             
                                "none"
                             Code examples
                                Set the animationTypeproperty. $("#jqxRibbon").jqxRibbon({ animationType: 'slide' });
 
                                Get the animationTypeproperty. var animationType = $('#jqxRibbon').jqxRibbon('animationType');
 | 
                
                    | animationDelay | Number/String | 400 | 
                
                    | 
                            
                                Sets or gets the duration of the ribbon animation.
                             Code examples
                                Set the animationDelayproperty. $("#jqxRibbon").jqxRibbon({ animationDelay: 400 });
 
                                Get the animationDelayproperty. var animationDelay = $('#jqxRibbon').jqxRibbon('animationDelay');
 | 
                
                    | disabled | Boolean | false | 
                
                    | 
                            
                                Enables/disables the ribbon.
                             Code examples
                                Set the disabledproperty. $("#jqxRibbon").jqxRibbon({ disabled: false });
 
                                Get the disabledproperty. var disabled = $('#jqxRibbon').jqxRibbon('disabled');
 | 
                
                    | height | Number/String | 100 | 
                
                    | 
                            
                                Sets or gets the ribbon's height.
                             Code examples
                                Set the heightproperty. $("#jqxRibbon").jqxRibbon({ height: 120 });
 
                                Get the heightproperty. var height = $('#jqxRibbon').jqxRibbon('height');
 | 
                
                    | initContent | Function | null | 
                
                    | 
                            
                                Initializes the content of jqxRibbon. Useful for initializing other widgets.
                             Code examples
                                Set the initContentfunction. $("#jqxRibbon").jqxRibbon({ initContent: function (index) {
    if (index == 0) {
        $("#jqxButton").jqxButton();
    }
});
 
                                Get the initContentfunction. var initContent = $('#jqxRibbon').jqxRibbon('initContent');
 | 
                
                    | mode | String | 'default' | 
                
                    | 
                            
                                Sets or gets the ribbon's display mode.
                             Possible values:
                                "default" - the ribbon's content is included in its height.
                             
                                "popup" - the ribbon's content is not included in its height and is positioned
                            absolutely. It overlaps elements underneath it.
                             Code examples
                                Set the modeproperty. $("#jqxRibbon").jqxRibbon({ mode: 'popup' });
 
                                Get the modeproperty. var mode = $('#jqxRibbon').jqxRibbon('mode');
 | 
                
                    | popupCloseMode | String | 'click' | 
                
                    | 
                            
                                Sets or gets the way to close selected content sections when the modeproperty is set to "popup". Possible values:
                                "click"
                             
                                "mouseLeave"
                             
                                "none"
                             Code examples
                                Set the popupCloseModeproperty. $("#jqxRibbon").jqxRibbon({ popupCloseMode: 'mouseLeave' });
 
                                Get the popupCloseModeproperty. var popupCloseMode = $('#jqxRibbon').jqxRibbon('popupCloseMode');
 | 
                
                    | position | String | 'top' | 
                
                    | 
                            
                                Sets or gets whether the ribbon's header is positioned at the top, bottom, left
                            or right of the content.
                             Possible values:
                                "top"
                             
                                "bottom"
                             
                                "left"
                             
                                "right"
                             Code examples
                                Set the positionproperty. $("#jqxRibbon").jqxRibbon({ position: "left" });
 
                                Get the positionproperty. var position = $('#jqxRibbon').jqxRibbon('position');
 | 
                
                    | rtl | Boolean | false | 
                
                    | 
                            
                                Sets or gets a value indicating whether widget's elements are aligned to support
                            locales using right-to-left fonts.
                             Code examples
                                Set the rtlproperty. $("#jqxRibbon").jqxRibbon({ rtl: false});
 
                                Get the rtlproperty. var rtl = $('#jqxRibbon').jqxRibbon('rtl');
 | 
                
                    | selectedIndex | Number | 0 | 
                
                    | 
                            
                                Sets or gets the selected index (tab).
                             Code examples
                                Set the selectedIndexproperty. $("#jqxRibbon").jqxRibbon({ selectedIndex: 0 });
 
                                Get the selectedIndexproperty. var selectedIndex = $('#jqxRibbon').jqxRibbon('selectedIndex');
 | 
                
                    | selectionMode | String | 'click' | 
                
                    | 
                            
                                Sets or gets the selection mode.
                             Possible values:
                                "click"
                             
                                "hover"
                             
                                "none"
                             Code examples
                                Set the selectionModeproperty. $("#jqxRibbon").jqxRibbon({ selectionMode: 'hover' });
 
                                Get the selectionModeproperty. var selectionMode = $('#jqxRibbon').jqxRibbon('selectionMode');
 | 
                
                    | scrollPosition | String | 'both' | 
                
                    | 
                            
                                Sets or gets the position of the scrollbar buttons.
                             Possible values:
                                "both"
                             
                                "near"
                             
                                "far"
                             Code examples
                                Set the scrollPositionproperty. $("#jqxRibbon").jqxRibbon({ scrollPosition: 'near' });
 
                                Get the scrollPositionproperty. var scrollPosition = $('#jqxRibbon').jqxRibbon('scrollPosition');
 | 
                
                    | scrollStep | Number | 10 | 
                
                    | 
                            
                                Sets or gets the scroll step.
                             Code examples
                                Set the scrollStepproperty. $("#jqxRibbon").jqxRibbon({ scrollStep: 20 });
 
                                Get the scrollStepproperty. var scrollStep = $('#jqxRibbon').jqxRibbon('scrollStep');
 | 
                
                    | scrollDelay | Number | 50 | 
                
                    | 
                            
                                Sets or gets the scroll delay.
                             Code examples
                                Set the scrollDelayproperty. $("#jqxRibbon").jqxRibbon({ scrollDelay: 100 });
 
                                Get the scrollDelayproperty. var scrollDelay = $('#jqxRibbon').jqxRibbon('scrollDelay');
 | 
                
                    | theme | String | '' | 
                
                    | 
                            
                                Sets the widget's theme.
                             
                            jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The
                        base stylesheet creates the styles related to the widget's layout like margin, padding,
                        border-width, position. The second css file applies the widget's colors and backgrounds.
                        The jqx.base.css should be included before the second CSS file. In order to set
                        a theme, you need to do the following:
                         
                            Include the theme's CSS file after jqx.base.css.The following code example adds the 'energyblue' theme.
 <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css"type="text/css"/>
<link rel="stylesheet" href="../../jqwidgets/styles/jqx.energyblue.css" type="text/css" />
Set the widget's theme property to 'energyblue' when you initialize it.
                                $('#jqxRibbon').jqxRibbon({ theme: 'energyblue' });
 | 
                
                    | width | Number/String | null | 
                
                    | 
                            
                                Sets or gets the ribbon's width.
                             Code examples
                                Set the widthproperty. $("#jqxRibbon").jqxRibbon({ width: 500 });
 
                                Get the widthproperty. var width = $('#jqxRibbon').jqxRibbon('width');
 | 
                
                    |  | 
                
                    | change | Event |  | 
                
                    | 
                            
                                This event is triggered when the user selects or unselects an item.
                             Code examples
                                Bind to the changeevent by type: jqxRibbon. $('#jqxRibbon').on('change', function () { // Some code here. }); 
 | 
                
                    | reorder | Event |  | 
                
                    | 
                            
                                This event is triggered when the user reorders the jqxRibbon items with the mouse.
                             Code examples
                                Bind to the reorderevent by type: jqxRibbon. $('#jqxRibbon').on('reorder', function () { // Some code here. }); 
 | 
                
                    | select | Event |  | 
                
                    | 
                            
                                This event is triggered when the user selects an item.
                             Code examples
                                Bind to the selectevent by type: jqxRibbon. $('#jqxRibbon').on('select', function () { // Some code here. }); 
 | 
                
                    | unselect | Event |  | 
                
                    | 
                            
                                This event is triggered when the user unselects an item.
                             Code examples
                                Bind to the unselectevent by type: jqxRibbon. $('#jqxRibbon').on('unselect', function () { // Some code here. }); 
 | 
                
                    |  | 
                
                    | addAt | Method |  | 
                
                    | 
                            
                                Adds a new item by index.
                             
                            List of parameters:
                         
                            index - Number;data - Object with the following properties:
                                
                                    title - String;content - String. 
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | index | Number |  |  
                                            | item | Object |  |  Code examples
                                Invoke the addAtmethod. $('#jqxRibbon').jqxRibbon('addAt', 2, { title: "New item", content: "New content" });
 | 
                
                    | clearSelection | Method |  | 
                
                    | 
                            
                                Unselects the selected item and collapses its content.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                                Invoke the clearSelectionmethod. $('#jqxRibbon').jqxRibbon('clearSelection'); 
 | 
                
                    | disableAt | Method |  | 
                
                    | 
                            
                                Disables an item by index. Index is a number.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | index | Number |  |  Code examples
                                Invoke the disableAtmethod. 
                                // @param index - Number
                             $('#jqxRibbon').jqxRibbon('disableAt', 8); 
 | 
                
                    | destroy | Method |  | 
                
                    | 
                            
                                Destroys the jqxRibbon widget.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                                Invoke the destroymethod. $('#jqxRibbon').jqxRibbon('destroy'); 
 | 
                
                    | enableAt | Method |  | 
                
                    | 
                            
                                Enables a disabled item by index. Index is a number.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | index | Number |  |  Code examples
                                Invoke the enableAtmethod. 
                                // @param index - Number
                             $('#jqxRibbon').jqxRibbon('enableAt', 3); 
 | 
                
                    | hideAt | Method |  | 
                
                    | 
                            
                                Hides an item by index. Index is a number.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | index | Number |  |  Code examples
                                Invoke the hideAtmethod. 
                                // @param index - Number
                             $('#jqxRibbon').jqxRibbon('hideAt', 2); 
 | 
                
                    | removeAt | Method |  | 
                
                    | 
                            
                                Removes an item from the ribbon. Index is a number.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | index | Number |  |  Code examples
                                Invoke the removeAtmethod. 
                                // @param index - Number
                             $('#jqxRibbon').jqxRibbon('removeAt', 2); 
 | 
                
                    | render | Method |  | 
                
                    | 
                            
                                Renders the jqxRibbon widget.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                                Invoke the rendermethod. $('#jqxRibbon').jqxRibbon('render'); 
 | 
                
                    | refresh | Method |  | 
                
                    | 
                            
                                Refreshes the jqxRibbon widget.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | None |  |  |  Code examples
                                Invoke the refreshmethod. $('#jqxRibbon').jqxRibbon('refresh'); 
 | 
                
                    | selectAt | Method |  | 
                
                    | 
                            
                                Selects the item with indicated index. Index is a number.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | index | Number |  |  Code examples
                                Invoke the selectAtmethod. 
                                // @param index - Number
                             $('#jqxRibbon').jqxRibbon('selectAt', 2); 
 | 
                
                    | showAt | Method |  | 
                
                    | 
                            
                                Shows an item by index. Index is a number.
                             
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | index | Number |  |  Code examples
                                Invoke the showAtmethod. 
                                // @param index - Number
                             $('#jqxRibbon').jqxRibbon('showAt', 5); 
 | 
                
                    | setPopupLayout | Method |  | 
                
                    | 
                            
                                Sets the layout of an item's content if mode is set to "popup".
                             
                            List of parameters:
                         
                            index - Number;layout - String, possible values:
                                
                                    "default" - the item's content is aligned with the widget's header;"near" - the item's content is left/top aligned with its title;"far" - the item's content is right/bottom aligned with its title;"center" - the item's content is centered under/next to its title.width - Number/String;height - Number/String. 
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | index | Number |  |  
                                            | layout | String | 
                                    "default" - the item's content is aligned with the widget's header;"near" - the item's content is left/top aligned with its title;"far" - the item's content is right/bottom aligned with its title;"center" - the item's content is centered under/next to its title. |  
                                            | width | Number/String |  |  
                                            | height | Number/String |  |  Code examples
                                Invoke the setPopupLayoutmethod. $('#jqxRibbon').jqxRibbon('setPopupLayout', 0, "center", 150, 100); 
 | 
                
                    | updateAt | Method |  | 
                
                    | 
                            
                                Updates an item.
                             
                                Note: after an item has been updated with updateAt, initContent will be
                            called again for that item (if set).
                             
                            List of parameters:
                         
                            index - Number;newData - Object with the following properties:
                                
                                    newTitle - String;newContent - String. 
                                
                                    
                                        Return Value 
                                None
                                            | Parameter | Type | Description |  
                                            | index | Number |  |  
                                            | item | Object |  |  Code examples
                                Invoke the updateAtmethod. $('#jqxRibbon').jqxRibbon('updateAt', 1, { newTitle: "Updated title", newContent: "Updated content" });
 | 
                
                    | val | Method |  | 
                
                    | 
                            
                                Sets or gets the selected index. Index is a number.
                             
                                
                                    
                                        Return Value 
                                String
                                            | Parameter | Type | Description |  
                                            | value | String |  |  Code examples
                                Invoke the valmethod. 
                                //Get the selected index.//@param index - Number
 var index = $("#jqxRibbon").jqxRibbon('val'); 
 
                                //Get the index using jQuery's val()
                             var index = $("#jqxRibbon").val(); 
 
                                //Set the selected index.
                             $("#jqxRibbon").jqxRibbon('val', 3); 
 
                                //Set index using jQuery's val().
                             $("#jqxRibbon").val(3); 
 |