Hello Tony,
You are right, this is a workaround. In the question which initialized my post here it was used as a solution. I posted this problem here because I look at the problem from a little other side.
It seems to me the problem which appears once will appear next time for other users. It would be better if one make jqGrid code a little more robust in case of missing some input information. I mean that it would be nice if jqGrid be able to display empty table not only for
{“page”:1, “records”:0, “total”:1, rows:[]}
but also for
{“page”:1, “records”:0, “total”:1}
{“page”:0, “records”:0, “total”:0}
{“records”:0}
or
{}
The most part of codes use already default values for missing input parameters. For example you use