<! -- Comments to ajaxviewagent.
Column count begins from zero, so when @DbLookup column would be 3, here it is 2.
shownav and showtotals default to true. If shownav is false, total count 1 - n is displayed.
If show totals is false, shownav is automatically set to false.
Set debug=true for more information.