Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I stop ext-js from adding limit=25 to my JSON query?
    primarykey
    data
    text
    <p>The following code is working. The problem is the request is being sent with &amp;_dc=1299207914646&amp;limit=25 appended to every request sent to the server. Nothing I can do changes the limit=25. Ideally I want no additional parameters sent to the server. I would make do however with being able to set the limit to 10000 or something. I AM able to add other parameters but nothing I do removes the limit=25. I would also like to get rid of the &amp;_dc parameter although I don't know why it has been added it is not causing a problem.</p> <p>Any ideas?</p> <p>note: some weird problem with code formatting below?</p> <p>Thanks</p> <pre><code> Ext.require([ 'Ext.grid.*', 'Ext.data.*', 'Ext.panel.*' ]); Ext.onReady(function(){ Ext.regModel('Image_', { // window.Image is protected in ie6 !!! fields: ['id', 'key', 'value'] }); var store = new Ext.data.JsonStore({ model: 'Image_', proxy: { type: 'ajax', var store = new Ext.data.JsonStore({ model: 'Image_', proxy: { type: 'ajax', autoload: 'false', url: '/couchdb/test/_design/blah/_view/by_surname2?startkey=%22r%22&amp;endkey=%22r\u9999%22', reader: { type: 'json', root: 'rows' } } }); store.load(); var listView = new Ext.grid.GridPanel({ width:425, height:250, collapsible:true, title:'Simple ListView &lt;i&gt;(0 items selected)&lt;/i&gt;', renderTo: Ext.getBody(), store: store, multiSelect: true, viewConfig: { emptyText: 'No images to display' }, headers: [{ text: 'File', flex: 50, dataIndex: 'value' },{ text: 'Last Modified', flex: 35, dataIndex: 'key' },{ text: 'Size', dataIndex: 'id', flex: 15, cls: 'listview-filesize' }] }); // little bit of feedback listView.on('selectionchange', function(view, nodes){ var l = nodes.length; var s = l != 1 ? 's' : ''; listView.setTitle('Simple ListView &lt;i&gt;('+l+' item'+s+' selected)&lt;/i&gt;'); }); }); </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload