Die BPC Version 4.1 wird nicht mehr gewartet.

Sollten Sie diese BPC Version nutzen, empfehlen wir Ihnen eine Migration auf eine aktuelle Version. Die Dokumentation zur neusten BPC Version finden Sie hier. Sollten Sie Fragen haben, wenden Sie sich bitte an unseren Support.

HTML-Rendered Combo Box

The BPC provides a combo box that can display HTML-rendered values. This is used when you want icons to be displayed in the combo box.

Usage

To use this field, simply create a component with the xtype bpcComboRenderedValue. The ` store ` attribute contains an array of objects, each of which contains a value and HTML content. The ` displayField ` references the attribute in the store that contains the HTML content to be rendered. This allows the user to see the icons.

  Ext.create(
  	{          // The fields
      xtype      : "bpcComboRenderedValue",
      valueField: "value",
      displayField: "attr",
      store: [{
        attr: "<span class=' fa fa-trash'>clock</span>",
        value: "foo"
      }, {
        attr: "<span class=' fa fa-times'>click</span>",
        value: "bar"
      }]

   });

Keywords: