Hello,
when [checkboxes]=”false” able to see selected value in UI dropdown. but when [checkboxes]=”true” it is not displaying the selected value. it is displaying html code(<div style=”height: 20px; float: left; background-color:’+tagModel.tagColor+'”>
<span style=”float: left; font-size: 15px; font-family: Verdana Arial;”>’+tagModel.tagName+'</span></div>)
<jqxDropDownList #custTagsDrpDwnList [theme]=”‘wp'” (onSelect)=”listOnSelect($event)”
[width]=”‘100%'” [height]=”30″ [source]=”custTagsDrpDwnDataAdapter” [checkboxes]=”true”
[displayMember]=”‘custDrpDwnLabel'” [valueMember]=”‘custDrpDwnValue'”>
</jqxDropDownList>
.ts file
this.custTagLabel = [];
this.custTagValue = [];
for (const tagModel of this.tagModelListCust) {
this.custTagLabel.push(‘<div style=”height: 20px; float: left; background-color:’+tagModel.tagColor+'”>
<span style=”float: left; font-size: 15px; font-family: Verdana Arial;”>’+tagModel.tagName+'</span></div>’);
this.custTagValue.push(tagModel.tagColor);
}
this.custTagData = this.generateCustDrpDwnDropDownData();
this.custTagsDrpDwnSource = {
localdata: this.custTagData,
datatype: ‘array’
};
this.custTagsDrpDwnDataAdapter = new jqx.dataAdapter(this.custTagsDrpDwnSource);