OK, not exactly a question on ListView per se, but spinning wheels for some reason on this guy.
I have the following template and ListView on a page:
What I'm looking for is a way for format the FIRST item on the list returned (bold, diff color, etc.). It sounds simple enough I should be able to do it with jQuery alone, but its just not coming to me. Any ideas on formatting the first item returned? Thanks in advance for the help!
I have the following template and ListView on a page:
$("#top3").kendoListView({
dataSource: dataSourceCustomers,
template: kendo.template($("#top3template").html())
});
<
script
type
=
"text/x-kendo-tmpl"
id
=
"top3template"
>
<
div
class
=
"top3item"
>
<
dl
class
=
"subtitle"
>
<
dt
><
b
>${CustomerName}</
b
></
dt
>
<
dd
>${kendo.toString(Value, "c")}</
dd
>
</
dl
>
</
div
>
</
script
>
What I'm looking for is a way for format the FIRST item on the list returned (bold, diff color, etc.). It sounds simple enough I should be able to do it with jQuery alone, but its just not coming to me. Any ideas on formatting the first item returned? Thanks in advance for the help!