Hey guys,
I'm using DataSource to drive a sort of "live filtering". After a filter's been applied I reload the data-source with the appropriate get-vars, but I want to add the results-count to this. I'm pretty flexible in how I construct my json (example of current json below), but I'm not sure how I would use kendo to place this somewhere in my html. My json looks like this:
So my questions are:
- Where in my json would I add the result-count?
- How do I make kendo render this to the current document?
Thanks guys!
- Steven
I'm using DataSource to drive a sort of "live filtering". After a filter's been applied I reload the data-source with the appropriate get-vars, but I want to add the results-count to this. I'm pretty flexible in how I construct my json (example of current json below), but I'm not sure how I would use kendo to place this somewhere in my html. My json looks like this:
{
"results"
: [
{
"title"
:
"My entry"
,
"description: "
My description"
},
{
"title"
:
"Another entry"
,
"description: "
Another description"
},
]
}
So my questions are:
- Where in my json would I add the result-count?
- How do I make kendo render this to the current document?
Thanks guys!
- Steven