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

PrefixOptions.icon

configuration

Defines the name for an existing icon in a Kendo UI theme or SVG content

Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

prefixOptions.icon

String|Object
<input id="prefix" />
<script>
  $("#prefix").kendoMultiColumnComboBox({
    label: "MultiColumnComboBox",
    dataTextField: "text",
    dataValueField: "value",
    dataSource: {
        data:  [
            { text: "Apples", value: "1" },
            { text: "Oranges", value: "2" }
        ]
    },
    columns: [
        { field: "text", title: "Text" },
        { field: "value", title: "Value" }
    ],
    prefixOptions: {
      icon: "search"
    }
  })
</script>

The name of the SVG icon.

<input id="prefix" />
<script>
  $("#prefix").kendoMultiColumnComboBox({
    label: "MultiColumnComboBox",
    dataTextField: "text",
    dataValueField: "value",
    dataSource: {
        data:  [
            { text: "Apples", value: "1" },
            { text: "Oranges", value: "2" }
        ]
    },
    columns: [
        { field: "text", title: "Text" },
        { field: "value", title: "Value" }
    ],
    prefixOptions: {
      icon: {
          name: "search"
      }
    }
  })
</script>

The SVG icon variant. Supported values are outline, solid, and duotone. The variant applies to SVG rendering and is ignored for font icons.

<input id="prefix" />
<script>
  $("#prefix").kendoMultiColumnComboBox({
    label: "MultiColumnComboBox",
    dataTextField: "text",
    dataValueField: "value",
    dataSource: {
        data:  [
            { text: "Apples", value: "1" },
            { text: "Oranges", value: "2" }
        ]
    },
    columns: [
        { field: "text", title: "Text" },
        { field: "value", title: "Value" }
    ],
    prefixOptions: {
      icon: {
          name: "search",
          variant: "outline"
      }
    }
  })
</script>