<ahref="javascript://"onclick="var d = dojo.byId('pagingCode'); d.style.display= d.style.display=='none'?'block':'none';">Click here to see the code!</a>
<divid="pagingCode"style="display:none;">
The HTML might look like this, the important attribute: <em>doClientPaging="false"</em> this takes care that the same query is fired to the server
and its not assumed that the client (the store) does the paging on the old data.