The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
DLDeepa Loganathan Syncfusion Team January 16, 2019 04:28 PM UTC
Hi Julien,
You can achieve this requirement to highlight items with specific text in the create event of Listbox, once the listbox items are rendered and available for customization as given in the below code.
$("#selectbike").ejListBox({
dataSource: BikeList,
create: create,
fields: { id: "empid", value: "text" }
});
function create(args){
var list =$("#selectbike").find("li");
$.map(list, function (obj, index) {
if(obj.innerText =="Hello"){
$(obj).addClass("highlight");
}
});
}
<styletype="text/css"class="cssStyles">
.highlight {
background-color: beige;
}
</style>
We have prepared a sample for your reference. Please check the below JSPlayground link.