New to Kendo UI for jQuery? Download free 30-day trial

jQuery Drawer Items

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
items.html

Also available for:

API REFERENCE

Description

The Kendo UI for jQuery Drawer supports populating its navigation from a data array through the items configuration option. Each item can define a text label, an icon, separator behavior, and custom HTML attributes through the attr option.

In this demo, the Drawer navigation is defined entirely through the items array. The attr option is used to attach a data-id attribute to each item, which the itemClick event handler uses to show the corresponding content panel.

Key configuration options:

  • items.text—The label displayed next to the icon.
  • items.icon—The name of a Kendo UI font icon.
  • items.separator—When set to true, renders a visual divider between groups of items.
  • items.selected—Marks an item as initially selected.
  • items.attr—A map of custom HTML attributes applied to the rendered item element.

Support & Learning Resources

Additional Resources