Okay – I figured it out. After some JS debugging, I discovered that jqGrid was having a problem parsing the XML, and the problem was caused by the fact that I had a space before the first line (<?xml ….). After removing that space, it worked fine (except that the sort and "next page" don't seem to work …. onwards and upwards! 😉