I’m trying to create a paging control for a GridView and among other things I need to be able to return a page count from data source. I have an .aspx page that serves up JSON for the fetch operation, so I tried returning this:
{
response {
status: 0,
pageCount: 100,
data [
// data items for current page
]
}
}
I had hoped that the pageCount property would show up as a property of dsResponse (returned to a callback function by ListGrid.fetch), but it doesn’t. How else might I go about getting extra properties like this?